Use this method to edit captions of messages. On success, if the edited message is not an inline message, the edited Message is returned, otherwise True is returned.
post/editMessageCaption
Request body
message_idinteger
Required if inline_message_id is not specified. Identifier of the message to edit
inline_message_idstring
Required if chat_id and message_id are not specified. Identifier of the inline message
captionstring
New caption of the message, 0-1024 characters after entities parsing
parse_modestring
Mode for parsing entities in the message caption. See formatting options for more details.