Interface EditMessageReplyMarkup

Edits the message reply markup; for bots only. Returns the edited message after the edit is completed on the server side. Request type for Tdjson#editMessageReplyMarkup.

interface EditMessageReplyMarkup {
    @type: "editMessageReplyMarkup";
    chat_id: number;
    message_id: number;
    reply_markup: ReplyMarkup;
}

Properties

@type: "editMessageReplyMarkup"
chat_id: number

The chat the message belongs to.

message_id: number

Identifier of the message. Use messageProperties.can_be_edited to check whether the message can be edited.

reply_markup: ReplyMarkup

The new message reply markup; pass null if none.