telegram-press-button
Press an inline keyboard button on a Telegram message by specifying its row and column, or use raw callback_data. Returns the bot's callback answer.
Instructions
Press an inline keyboard callback button on a message. Identify the button by (row, column) from its replyMarkup, or pass raw callback_data as base64. URL, switch-inline, game and 2FA-password buttons are rejected with a clear error. Returns the bot's callback answer: {alert?, hasUrl?, nativeUi?, message?, url?, cacheTime}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| row | No | Button row index (0-based) — required unless data is provided | |
| data | No | Raw callback_data as base64 string (escape hatch — prefer row/column) | |
| chatId | Yes | Chat ID or username where the message lives | |
| column | No | Button column index (0-based) — required unless data is provided | |
| messageId | Yes | Message ID whose inline button to press |