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. Checklist messages can be edited only to a checklist 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
editQuickReplyMessage(
shortcut_id: int32,
message_id: int53,
input_message_content: InputMessageContent
) → Ok
shortcut_id¶
int32
Unique identifier of the quick reply shortcut with the message
message_id¶
int53
Identifier of the message
input_message_content¶
New content of the message. Must be one of the following types: inputMessageAnimation, inputMessageAudio, inputMessageChecklist, inputMessageDocument, inputMessagePhoto, inputMessageRichMessage, inputMessageText, or inputMessageVideo