edit_quick_reply_message


Description:

public async Ok edit_quick_reply_message (int32 shortcut_id, int64 message_id, InputMessageContent input_message_content) throws TDLibError

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

Parameters:

shortcut_id

Unique identifier of the quick reply shortcut with the message

message_id

Identifier of the message

input_message_content

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