--- title: editMessageReplyMarkup description: Bots only. Edits message reply markup. Returns edited message after edit is complete server side --- ## Method: editMessageReplyMarkup [Back to methods index](index.md) YOU CANNOT USE THIS METHOD IN MADELINEPROTO Bots only. Edits message reply markup. Returns edited message after edit is complete server side ### Params: | Name | Type | Required | Description | |----------|---------------|----------|-------------| |chat\_id|[InputPeer](../types/InputPeer.md) | Yes|Chat the message belongs to| |message\_id|[long](../types/long.md) | Yes|Identifier of the message| |reply\_markup|[ReplyMarkup](../types/ReplyMarkup.md) | Yes|New message reply markup| ### Return type: [Message](../types/Message.md)