Interface EditInlineMessageCaption

Edits the caption of an inline message sent via a bot; for bots only. Request type for Tdjson#editInlineMessageCaption.

interface EditInlineMessageCaption {
    @type: "editInlineMessageCaption";
    caption: FormattedText;
    inline_message_id: string;
    reply_markup: ReplyMarkup;
    show_caption_above_media?: boolean;
}

Properties

@type: "editInlineMessageCaption"
caption: FormattedText

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

inline_message_id: string

Inline message identifier.

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.