after pressing the button, we receive the next update in botress, but botress does not process it in any way. I suggest adding processing and entering them as usual, a message from the user. Answer = button name.
Please pay attention to these fields for processing:
"chat_instance"-> "data", update_id, callback_query ID,
`Handler received request from Telegram with payload:
{
"update_id": 5100000,
"callback_query": {
"id": "77466244029000000",
"from": {
"id": 180300000,
"is_bot": false,
"first_name": "11111",
"last_name": "1111",
"username": "111111",
"language_code": "en"
},
"message": {
"message_id": 1271,
"from": {
"id": 6111111,
"is_bot": true,
"first_name": "11111",
"username": "11111"
},
"chat": {
"id": 111111,
"first_name": "1111",
"last_name": "1111",
"username": "1111",
"type": "private"
},
"date": 1716287115,
"reply_to_message": {
"message_id": 905,
"from": {
"id": 6511111,
"is_bot": true,
"first_name": "1111",
"username": "11111"
},
"chat": {
"id": 18011111,
"first_name": "1111",
"last_name": "111",
"username": "1111",
"type": "private"
},
"date": 1715927188,
"text": "---\nData: \"03-05-2024, 17:4"
},
"text": "Hi, bot!",
"reply_markup": {
"inline_keyboard": [
[
{
"text": "Button 1",
"callback_data": "Button_1"
},
{
"text": "Button 2",
"url": "https://example.com/"
}
]
]
}
},
"chat_instance": "-2537651359530275036",
"data": "Button_1"
}
}`
https://cdn.discordapp.com/attachments/1242425388232216678/1242425388630806538/image.png?ex=664dca4f&is=664c78cf&hm=fea71758c2cfb9b232eb63ee11954c48ac7dbeab08ff069a33535e6580aaa8bc&