editMessageReplyMarkup
Update the inline keyboard on an existing message without altering its content. Specify the message and pass a new reply markup to apply changes instantly.
Instructions
Edit only the reply markup of messages. Returns the edited Message on success, or True if the message is an inline message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat_id | No | Required if inline_message_id is not specified. Unique identifier for the target chat or username of the target channel (in the format @channelusername). | |
| message_id | No | Required if inline_message_id is not specified. Identifier of the message to edit. | |
| reply_markup | No | A JSON-serialized object for an inline keyboard. | |
| inline_message_id | No | Required if chat_id and message_id are not specified. Identifier of the inline message. | |
| business_connection_id | No | Unique identifier of the business connection on behalf of which the message to be edited was sent. |