Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 10 hours 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 (about 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T10:13:29.000Z (over 3 years ago)
- Last Synced: 2024-08-02T13:27:00.782Z (3 months 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:
![Users' view](img/user_view.png)
Admins' chat:
![Admins' view](img/admin_view.png)
## 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 depspython 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`**.