https://github.com/igoose1/support-bot
Telegram bot for a support team.
https://github.com/igoose1/support-bot
pytelegrambotapi python3 telegram-bot-api
Last synced: 2 months ago
JSON representation
Telegram bot for a support team.
- Host: GitHub
- URL: https://github.com/igoose1/support-bot
- Owner: igoose1
- License: apache-2.0
- Created: 2018-09-10T14:25:53.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T10:13:29.000Z (almost 5 years ago)
- Last Synced: 2024-11-11T22:35:20.247Z (over 1 year ago)
- Topics: pytelegrambotapi, python3, telegram-bot-api
- Language: Python
- Homepage:
- Size: 898 KB
- Stars: 17
- Watchers: 3
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# support-bot
Telegram bot that helps to admins to communicate with subscribers.
It forwards messages from subscribers to admin's chat and sends answers to user from admins.
User's chat:

Admins' chat:

## Usage
### Configuration
Edit `config.ini` file before running the bot.
Necessary:
* `token` is your telegram bot's token.
* `support-chat-id` is id of chat with admin(-s). If you want to use it in private chat write id of your account.
All messages are editable, you can find them in config file too.
#### Proxy
You can use https proxy for bot.
Change `proxy` to `yes` and write your address in `proxy-server`.
```
proxy-server: https://server_address:port
```
#### Receiving types
You can filter user's files types.
Write in `forward-types` necessary types from telegram bot API.
### Running
```
pip install -r requirements.txt # installs deps
python main.py
```
# Usage of bot
Every message from users **forwards** to admin's chat.
Admin answers by **replying to the message with a question**.
User can be blocked by **`/block`** in reply. Unblocking is possible as well
with **`/unblock`**.