setChatMenu

Use this message to set normal keypad menus to "Chat Menu". This message will overwrite the existing Chat Menus. If the bot wants to update a specific item in the Chat Menus, it must send the entire menus again to the target chat. On success, setChatMenu_ack will be returned.

FieldTypeRequiredDescription
methodStringYes"setChatMenu"
menusMenuYesNew or updated Menus
chat_idStringYesUnique identifier for the target chat or User_id
to_user_idStringOptionalif reply or send message to target user within a group chat or channel, unique identifier of the target user.
Language