telegram-get-message-buttons
Retrieve inline and reply keyboard buttons from a Telegram message, including row/col indices and type-specific details (callback data, URL, etc.). Use before pressing a button.
Instructions
List the inline/reply keyboard buttons on a Telegram message with their (row, col) indices, type (e.g. KeyboardButtonCallback, KeyboardButtonUrl), label and type-specific fields (callback data as base64, url, switchQuery, userId, copyText, etc). Helper for telegram-press-button — call this first to discover indices and filter by type before pressing. Returns markupType='none' and empty buttons when the message has no keyboard
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chatId | Yes | Chat ID or username where the message lives | |
| messageId | Yes | Message ID whose keyboard to inspect |