This object represents an incoming callback query from a callback button associated with a normal keypad menu.
Field
Type
Required
Description
button_callback
String
Yes
Unique identifier for button as defined by bot.
menu_ref
String
Yes
Unique identifier is defined by the bot to which the button belongs.
from
Yes
Sender (user) who pressed the button.
chat
Yes
Conversation the message belongs to.
date
Long
Yes
Long date format in milliseconds.
next_menu
IntegerString
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 commas separated. ’Phone number’ depends on the button query.

Object

json
{ "chatMenuCallback": { "date": 7456984123741, "button_callback": "VCB0", "next_menu": null, "button_query_result": null, "chat": { "id": "874125364412589741", "type": "Mobile" }, "from": { "id": "741254123980325800", "type": "Mobile" }, "menu_ref": "FourthMenu", "button_label": "Food" } }