Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/SpEcHiDe/ButtonHTMLBot
https://ButtonHTMLBot.t.me
https://github.com/SpEcHiDe/ButtonHTMLBot
Last synced: 3 months ago
JSON representation
https://ButtonHTMLBot.t.me
- Host: GitHub
- URL: https://github.com/SpEcHiDe/ButtonHTMLBot
- Owner: SpEcHiDe
- License: mit
- Created: 2023-03-16T14:37:22.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-03-19T05:13:26.000Z (over 1 year ago)
- Last Synced: 2024-07-18T15:31:44.828Z (4 months ago)
- Language: TypeScript
- Size: 11.7 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## [ButtonHTMLBot](https://ButtonHTMLBot.t.me/?start=GitHub)
## 🤔 Why this bot ?
Telegram API does not have the concept of `parse_mode` or the simplicity / helper which the **wizard** of [`telegram-bot-api` server](https://github.com/tdlib/td/blob/70bee089d492437ce931aa78446d89af3da182fc/td/telegram/Td.cpp#L8596-L8608) had created. To the Telegram server, it is `text` and `entities`. Hence, this project attempts to create buttons without using the `parse_mode` helpers, but use the InlineKeyboardButton that the Telegram API provides, and saves the resulting `reply_markup` without the need to convert / store another third format and hence reduce the burden of maintainability.
## Projects using this Technique
- **@IMDbOT**: check `/custom_template_help` command
- **@NoPMsBot**: check `/start` in the #General topicIf you are having issues with this library, or if you like to suggest something that can make this library better, please open [an issue](https://github.com/SpEcHiDe/ButtonHTMLBot/issues) here. Or if you'd like to contribute, please open [a pull request](https://github.com/SpEcHiDe/ButtonHTMLBot/pulls).