API Reference

chatMenuCallback

This object represents an incoming callback query from a callback button associated with a normal keypad menu.

FieldTypeRequiredDescription
button_callbackStringYesUnique identifier for button as defined by bot.
menu_refStringYesMenu Unique identifier defined by bot where button belongs to.
fromUserYesSender User who pressed the button.
chatChatYesConversation the message belongs to.
dateLongYesLong date format in milliseconds
next_menuIntegerStringOptionalThe menu to navigate to it when the button pressed.
button_query_resultButtonQueryResultOptionalReturned inquiry information from app. The field either will return "Location" in form of longitude and latitude respectively as comma separated. "Phone number" depends on the buttonQuery.
Body Params
chatMenuCallback
object
Language