My Proxy Bot (@MyProxyBot)
- Proxy bot -- full-featured Bot-In-The-Middle for Telegram.
- Webhook Proxy bot -- webhook version on Flask.
- Webhook Master bot -- botfabric creating ProxyBots for Telegram users.
You can use it as your second account. Start it and share its username. Others will be able to contact you using this bot without the risk of being reported for spam (you can block them though). And you will be able to answer them without the risk for you! (Telegram's spam report system is kinda broken).
The bot stores full message history and allows you to review it.
The bot is able to recieve from users and resend from an admin all types of Telegram messages.
The bot forces you to set all the special messages for your users. It will be using them later for autoreply.
- Start message -- autoreply on
/start
command
Hello there! Write me to contact Admin.
- Block message -- autoreply to blocked users
Oops, you were blocked. Sorry!
- Unavailable message -- autoreply to users' messages. It is sent when admin was not showing up for last hour. Should notify user that his message is properly delivered, but bot cant guarantee fast reply from admin.
Thank you! It might take a while...
The original idea and the very first version of proxybot
are came from Groosha.
Some extra features came from the repo it was forked from: Mr_Gigabyte's patched version.
Flask app for webhook version of ProxyBot. Nothing supercool, though..
Flask app that is a special bot that can spawn webhook version of ProxyBot for every telegram user.
- Python 3 (works only with Python3);
- pyTelegramBotAPI library (with bot 2.0 support);
- pyMongo driver and MongoDB credentials;
- Flask (optional for webhook versions)
- Copy
.env.example
to.env
and specify your credentials in it $ docker-compose up -d
I understand, that "proxy" bots can be used to prevent spammers from being reported, so if you encounter such bots that are used to do "bad" things, feel free to report them: abuse@telegram.org
The ProxyBot works only in private chats because it would be a big load on db to store all messages in couple busy groups. And it would be spammy.
It can work in group chats, but to enable this feature you need to obtain your own copy of repo, comment out one function in proxy_bot.py
and run either it or webhook version.
For now you can only use emojis in pre-saved messages.
No, the bot work for only single Telegram account.
You can contact me via my Proxy Bot.