Skip to content

editEphemeralMessageCaption

Use this method to edit the caption of an ephemeral message. Note that it is not guaranteed that the user will receive the message edit event, especially if they are offline. On success, True is returned.

Parameters

chat_idIntegerStringRequired
Unique identifier for the target chat or username of the target supergroup in the format @username
receiver_user_idIntegerRequired
Identifier of the user who received the message
ephemeral_message_idIntegerRequired
Identifier of the ephemeral message to edit
captionStringOptional✏️ FormattableminLen 0maxLen 1024
New caption of the message, 0-1024 characters after entities parsing
parse_modeStringOptional
Mode for parsing entities in the message caption. See formatting options for more details.
caption_entitiesMessageEntity[]Optional
A JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse\_mode
show_caption_above_mediaBooleanOptional
Pass True if the caption must be shown above the message media. Supported only for animation, photo and video messages.
A JSON-serialized object for an inline keyboard

Returns

On success, True is returned.

GramIO Usage

Errors

Tips & Gotchas

See Also