Interface EditQuickReplyMessage

Asynchronously edits the text, media or caption of a quick reply message. Use quickReplyMessage.can_be_edited to check whether a message can be edited. Media message can be edited only to a media message. The type of message content in an album can't be changed with exception of replacing a photo with a video or vice versa. Request type for Tdjson#editQuickReplyMessage.

interface EditQuickReplyMessage {
    @type: "editQuickReplyMessage";
    input_message_content: InputMessageContent;
    message_id: number;
    shortcut_id: number;
}

Properties

@type: "editQuickReplyMessage"
input_message_content: InputMessageContent

New content of the message. Must be one of the following types: inputMessageText, inputMessageAnimation, inputMessageAudio, inputMessageDocument, inputMessagePhoto or inputMessageVideo.

message_id: number

Identifier of the message.

shortcut_id: number

Unique identifier of the quick reply shortcut with the message.