Actions101
- Bot Actions
- Chat Actions
- Get Chat
- Get Chat Administrators
- Get Chat Member Count
- Get Chat Member
- Ban Chat Member
- Unban Chat Member
- Restrict Chat Member
- Promote Chat Member
- Set Chat Administrator Custom Title
- Set Chat Permissions
- Export Chat Invite Link
- Create Chat Invite Link
- Edit Chat Invite Link
- Revoke Chat Invite Link
- Approve Chat Join Request
- Decline Chat Join Request
- Set Chat Photo
- Delete Chat Photo
- Set Chat Title
- Set Chat Description
- Pin Chat Message
- Unpin Chat Message
- Unpin All Chat Messages
- Leave Chat
- Set Chat Menu Button
- Get Chat Menu Button
- Set Chat Sticker Set
- Delete Chat Sticker Set
- File Actions
- Forum Actions
- Game Actions
- Inline Actions
- Message Actions
- Send Message
- Forward Message
- Copy Message
- Send Photo
- Send Audio
- Send Document
- Send Video
- Send Animation
- Send Voice
- Send Video Note
- Send Media Group
- Send Location
- Send Venue
- Send Contact
- Send Poll
- Send Dice
- Send Chat Action
- Edit Message Text
- Edit Message Caption
- Edit Message Media
- Edit Message Reply Markup
- Edit Message Live Location
- Stop Message Live Location
- Stop Poll
- Delete Message
- Delete Messages
- Payment Actions
- Sticker Actions
- Update Actions
- Webhook Actions
Chat → Get Chat Menu Button
AI-generatedSummary
Retrieves the current menu button configuration for a specific Telegram chat.
Inputs
- chat_id (required) — Unique identifier for the target chat or username (@channelusername).
- menuButtonAdditionalFields — Optional collection of additional fields. Currently includes 'chat_id' for private chats.
Output shape
A single record containing the current MenuButton object for the chat, or null if the default menu is active.
Returns the current button configuration. If the bot uses the default menu, the result may be null or an empty object depending on the API response.
Examples
Example 1: Check the custom menu button for a specific channel.
Set Resource to 'Chat', Operation to 'Get Chat Menu Button', and provide the channel's username.
Example 2: Verify the menu button state in a private chat.
Set Resource to 'Chat', Operation to 'Get Chat Menu Button', and provide the private chat ID.