https://github.com/aaomidi/telegram-bot-best-practices
https://github.com/aaomidi/telegram-bot-best-practices
best-practices telegram telegram-bot-api
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/aaomidi/telegram-bot-best-practices
- Owner: aaomidi
- Created: 2017-11-14T17:39:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-14T17:47:21.000Z (over 8 years ago)
- Last Synced: 2025-10-13T03:36:52.647Z (9 months ago)
- Topics: best-practices, telegram, telegram-bot-api
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Best practices for Telegram bots
1. Use Telegram's command system. Do not register your own "command activator" such as `!`.
2. If you do not recognize a command, don't throw an error. Group chats are likely to have multiple bots, simply fail silently.
3. Implement the start command. Let people using your bot know what you're using it for.
4. If you're listening on all chat messages, it is preferable if you opensource your project.
5. Do not send advertisements or any type of unsolicited messages
6. Implement inline features as much as possible. Users might want to use your bot while not allowing it to be in their chat all the time.