TelegraML
TelegraML copied to clipboard
Improve safety for `inline_query_result`
Currently, we allow the reply_markup
fields to be any kind of ReplyMarkup.reply_markup
, despite the fact that the API only allows InlineKeyboardMarkup
here.
3 solutions:
- Well-documented
- Throws exception with incorrect types
- Refactored
ReplyMarkup
allows for the constraint