https://github.com/ohld/telegram-support-bot
Easy way to use Telegram bot to hide your identity. Useful for support, anonymous channel management. Free clone of Livegram Bot.
https://github.com/ohld/telegram-support-bot
heroku-deployment python-telegram-bot support telegram-bot
Last synced: 10 months ago
JSON representation
Easy way to use Telegram bot to hide your identity. Useful for support, anonymous channel management. Free clone of Livegram Bot.
- Host: GitHub
- URL: https://github.com/ohld/telegram-support-bot
- Owner: ohld
- License: mit
- Created: 2021-01-11T12:11:34.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-27T14:42:21.000Z (over 1 year ago)
- Last Synced: 2025-03-31T20:06:36.009Z (10 months ago)
- Topics: heroku-deployment, python-telegram-bot, support, telegram-bot
- Language: Python
- Homepage: https://t.me/danokhlopkov
- Size: 9.77 KB
- Stars: 360
- Watchers: 12
- Forks: 282
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# telegram-support-bot
Easy way to use Telegram bot to hide your identity. Useful for support, anonymous channel management. Free clone of Livegram Bot.
[](https://heroku.com/deploy)
## How bot works:
1. Your client write a message to your bot
2. Bot forwards the message to your secret chat
3. Any chat participant can reply on a forwarded message
4. Bot will copy the message and send it to your client
## .env variables
You need to specify these env variables to run this bot. If you run it locally, you can also write them in `.env` text file.
``` bash
TELEGRAM_TOKEN= # your bot's token
TELEGRAM_SUPPORT_CHAT_ID= # chat_id where the bot will forward all incoming messages
# optional params
HEROKU_APP_NAME= # name of your Heroku app for webhook setup
WELCOME_MESSAGE= # text of a message that bot will write on /start command
# If user don't allow forward his messages Bot adds his comment with thue user_id to reply
# Support team must reply to "bot reply", not to original user forwarded message
# Customize message for support team here:
REPLY_TO_THIS_MESSAGE=User above don't allow forward his messages. Reply to this message.
# If support reply to forwarded messages with hidded sender, bor warns with next error:
WRONG_REPLY=User above don't allow forward his messages. You must reply to bot reply under user forwarded message.
```
## Run bot locally
First, you need to install all dependencies:
```bash
pip install -r requirements.txt
```
Then you can run the bot. Don't forget to create `.env` file in the root folder with all required params (read above).
``` bash
python main.py
```