Closed cdtj closed 5 years ago
Telegram Bot API 2.0 contain varieties of buttons: https://core.telegram.org/bots/2-0-intro#switch-to-inline-buttons and I tried to handle them but didn't find a way how to do that.
Chat message from bot with buttons typed as *tdlib.MessageText, with full text in Text.Textarea and text formatting options in Text.Entities.
*tdlib.MessageText
Text.Text
Text.Entities
Is there any way to get button's text and entities?
My bad, found wanted objects in *Message.ReplyMarkup
*Message.ReplyMarkup
Telegram Bot API 2.0 contain varieties of buttons: https://core.telegram.org/bots/2-0-intro#switch-to-inline-buttons and I tried to handle them but didn't find a way how to do that.
Chat message from bot with buttons typed as
*tdlib.MessageText
, with full text inText.Text
area and text formatting options inText.Entities
.Is there any way to get button's text and entities?