-
Notifications
You must be signed in to change notification settings - Fork 972
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
version
github.com/go-telegram-bot-api/telegram-bot-api v4.6.4+incompatible
In debug mode is sow
2020/12/13 12:14:55 getUpdates resp:
{
"ok": true,
"result": [
{
"update_id": 496xxxxxxx,
"callback_query": {
"id": "73065467xxxxxxxxxx",
"from": {
"id": 17011xxxx,
"is_bot": false,
"first_name": "test",
"last_name": "test",
"username": "test",
"language_code": "ru"
},
"message": {
"message_id": 43,
"from": {
"id": 13038xxxxxx,
"is_bot": true,
"first_name": "test",
"username": "test"
},
"chat": {
"id": 170xxxxxx,
"first_name": "Konstantin",
"last_name": "Lebedev",
"username": "wf",
"type": "private"
},
"date": 1607843687,
"text": "message",
"entities": [
{
"offset": 8,
"length": 12,
"type": "phone_number"
},
{
"offset": 45,
"length": 100,
"type": "pre"
},
{
"offset": 145,
"length": 77,
"type": "italic"
}
],
"reply_markup": {
"inline_keyboard": [
[
{
"text": "buttom one",
"callback_data": "one:13800990"
},
{
"text": "buttom two",
"callback_data": "two:13800990"
}
]
]
}
},
"chat_instance": "-6785854117xxxxxxx",
"data": "one:13800990"
}
}
]
}
But I don't know how to get data on reply_markup through the go bot api interface.
Line 979 in 19e61c7
| type CallbackQuery struct { |
I get update.CallbackQuery object without ReplyMarkup object
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working