This object represents an incoming callback query from a callback button within an inline keypad menu associated with a specific message. The field message_id will be present if the button that started the query was an attachment to a message that the bot sent.
Field | Type | Required | Description |
button_callback | String | Yes | Callback unique identifier as defined by Bot. |
menu_ref | String | Yes | Menu reference |
from | Yes | Sender (user) of this message. | |
chat | Yes | Conversation the message belongs to. | |
message_id | String | Yes | The associated message is a global unique identifier, which is where the menu belongs. |
reference | Long | Yes | The associated message is a unique local identifier defined by the bot. |
date | Long | Yes | Long-date format in milliseconds |
next_menu | Integer | Optional | Menu to navigate to it when the button is pressed. |
button_query_result | Optional | Returned inquiry information from the app: the field will either return Location in the form of longitude and latitude, respectively, as a comma separated. Phone number depends on the buttonQuery. | |
button_label | String | Optional | Button label |
Object
json{ "inlineMessageCallback": { "date": 1601556230820, "reference": 91551042165645, "button_callback": "oneBtnCBInWebView", "next_menu": 1, "button_query_result": 9, "chat": { "id": "874125364412589741", "type": "Mobile" }, "from": { "id": "741254123980325800", "type": "Mobile" }, "message_id": "p1_o87RlPgT38178", "menu_ref": "MAIN_MENU_001", "button_label": "strong" } }
Response
json{ "method": "inlineMessageCallback", "inlineMessageCallback": { "date": 1601556230820, "reference": "91551042165645", "button_callback": "oneBtnCBInWebView", "next_menu": 1, "button_query_result": 9, "chat": { "id": "90089668723575679", "type": "Mobile" }, "from": { "id": "90089668723575679", "type": "Mobile" }, "message_id": "p1_o87RlPgT38178", "menu_ref": "MAIN_MENU_001", "button_label": "strong" } }