Telegram Bot API

Use this method to get the current value of the bot's menu button in a private chat, or the default menu button. Returns MenuButton on success.

post/getChatMenuButton

Request

  • Base URL: https://api.telegram.org/bot<bot_token>
  • URL: https://api.telegram.org/bot<bot_token>/getChatMenuButton
  • Auth: none declared

Request body

chat_idinteger

Unique identifier for the target private chat. If not specified, the bot's default menu button will be returned.

Response

Telegram API response

oktrue required

Changes

No recorded changes to this operation across all 3 revisions of this API.