Interface EditEphemeralMessageCaption

Edits the caption and reply markup of an ephemeral message sent by the bot; for bots only. Request type for Tdjson#editEphemeralMessageCaption.

interface EditEphemeralMessageCaption {
    @type: "editEphemeralMessageCaption";
    caption: FormattedText;
    chat_id: number;
    ephemeral_message_id: number;
    receiver_user_id: number;
    reply_markup: ReplyMarkup;
    show_caption_above_media?: boolean;
}

Properties

@type: "editEphemeralMessageCaption"
caption: FormattedText

New message content caption; pass null to remove caption; 0-getOption("message_caption_length_max") characters.

chat_id: number

The chat the message belongs to.

ephemeral_message_id: number

Identifier of the ephemeral message.

receiver_user_id: number

Identifier of the user who received the message.

reply_markup: ReplyMarkup

The new message reply markup; pass null if none.

show_caption_above_media?: boolean

Pass true to show the caption above the media; otherwise, the caption will be shown below the media. May be true only for animation, photo, and video messages.