All Projects → eriverosr → Telegram Forward Bot

eriverosr / Telegram Forward Bot

Licence: mit
Simple Telegram Bot for forwarding messages easily between various related channels and groups.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Telegram Forward Bot

Lua Telegram Bot
Lua Library for the Telegram Bot API
Stars: ✭ 100 (-24.24%)
Mutual labels:  bot, telegram
Botogram
Just focus on your bots.
Stars: ✭ 106 (-19.7%)
Mutual labels:  bot, telegram
Ex gram
Telegram Bot API low level API and framework
Stars: ✭ 103 (-21.97%)
Mutual labels:  bot, telegram
Telegram Bot
Telegram Bot using AWS API Gateway and AWS Lambda
Stars: ✭ 96 (-27.27%)
Mutual labels:  bot, telegram
Madelineproto
Async PHP client/server API for the telegram MTProto protocol
Stars: ✭ 1,776 (+1245.45%)
Mutual labels:  bot, telegram
Monit2telegram
A simple script to send Monit alerts using Telegram bot.
Stars: ✭ 97 (-26.52%)
Mutual labels:  bot, telegram
Hackernewsbot
📰 Telegram bot that posts new hot stories from Hacker News to telegram channel
Stars: ✭ 103 (-21.97%)
Mutual labels:  bot, telegram
Telegram Pm Chat Bot
Telegram Private Message Chat Bot
Stars: ✭ 69 (-47.73%)
Mutual labels:  bot, telegram
Novagram
An Object-Oriented PHP library for Telegram Bots
Stars: ✭ 112 (-15.15%)
Mutual labels:  bot, telegram
Awesome Telegram Bot
Manual picked bot of Telegram.
Stars: ✭ 107 (-18.94%)
Mutual labels:  bot, telegram
Telebot.nim
Async client for Telegram Bot API in pure Nim [Bot API 5.1]
Stars: ✭ 93 (-29.55%)
Mutual labels:  bot, telegram
Node Telegram Api
A simple API to create and control Telegram bots
Stars: ✭ 117 (-11.36%)
Mutual labels:  bot, telegram
Tgdr
Telegram directory to discover channels, bots and groups.
Stars: ✭ 91 (-31.06%)
Mutual labels:  bot, telegram
Roguebot
My simple rogue-like game for Telegram
Stars: ✭ 100 (-24.24%)
Mutual labels:  bot, telegram
Go Tgbot
Golang telegram bot API wrapper, session-based router and middleware
Stars: ✭ 90 (-31.82%)
Mutual labels:  bot, telegram
Telegram Bot Github
Allows to you receive GitHub notifications right in the Telegram
Stars: ✭ 103 (-21.97%)
Mutual labels:  bot, telegram
Github Releases Notify Bot
Allows you to receive notifications of new releases of software on GitHub in Telegram
Stars: ✭ 65 (-50.76%)
Mutual labels:  bot, telegram
Turibot
TuriBot is a simple way to communicate with Telegram APIs in PHP
Stars: ✭ 68 (-48.48%)
Mutual labels:  bot, telegram
Zanzara
Asynchronous PHP Telegram Bot Framework built on top of ReactPHP
Stars: ✭ 107 (-18.94%)
Mutual labels:  bot, telegram
Telegram Clonebot
Simple Bot to clone Google Drive Files (or Folders) to your Team Drive[or Normal Drive]. P.S This is not a Mirror Bot. Enjoy ✌🏻
Stars: ✭ 114 (-13.64%)
Mutual labels:  bot, telegram

telegram-forward-bot

Simple Telegram Bot for forwarding messages easily between various related channels and groups.

This bot allows you to automatically forward messages between different channels. We use it on our Student Comitee because we have like 15 different Telegram groups for each commission we are working on. Then, if we want some commission receives some important information, we can automatically forward to them using hashtags at the beggining of the message (or the caption of a media file).

Made with latest version of telepot at the time (12.0) and for Python 3.5.2. And shared with a MIT license.

How to install

We will assume you and your friends have Telegram accounts and several telegram chats.

First, you need to create a Telegram bot. Talk with the BotFather and ask it for a bot (and its respective token)

Then, you need to rename the file config-sample.json to config.json. Add in token property your bot's token.

Also, its very encouraged to set a password for registering to use the bot. If you don't set a password. Any person could use it and forward messages between your channels.

The next part is to install in your server the requirements of the bot using pip3 install -r requirements.txt.

finally, configure the bot, adding it on all the groups you want to connect

How to use

  1. You need to add yourself to the authorized list of the bot typing /addme {password}, where the password is the string set on bot configuration (see previous section for more details).
  2. If you want to delete your permissions from the bot, you can type /rmme. Then you won't be able to send commands to the bot (except for /addme)
  3. You can use /taglist for a list of tags registered to the bot, and the group/channel/private chat's names
  4. You cand add a tag to a group using /add #{tag}. You can remove the tag using /rm #{tag}.
  5. If you want to send a message/file/image/other to another group, you should add the tags at the start of the message or caption. you can add more than one tag if you want to.
  6. You can forward a message by replying to it with the desired tags. Both messages will be forwarded.

Some considerations

Some details about the implementation:

  1. you can't forward a message to the same chat you wrote it. The bot will warn you and reject to do that if you try to do it.
  2. Each chat can have more than 1 tag. That's very useful if you have various names for your chats, but if you write several times the same tag, or tags that point to the same group, you will have several forwardings to that chat. I plan to correct this some day. (It's not hard but I'm very busy right now).
  3. Any person registered as authorized with the bot can add tags for the chat or another chats. The use of this bot assumes you have authorized users in your chats that you trust. Also, any person registered to the bot can forward messages to any group using the tags.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].