Edits the media content of a message, including message caption. If only the caption needs to be edited, use Client.edit_message_caption instead. The type of message content in an album can't be changed with exception of replacing a photo with a video or vice versa. Returns the edited message after the edit is completed on the server side
chat_id |
The chat the message belongs to |
message_id |
Identifier of the message. Use messageProperties.can_edit_media to check whether the message can be edited |
reply_markup |
The new message reply markup; pass null if none; for bots only |
input_message_content |
New content of the message. Must be one of the following types: inputMessageAnimation, inputMessageAudio, inputMessageDocument, inputMessagePhoto or inputMessageVideo |