Interface EditBusinessMessageCaption

Edits the caption of a message sent on behalf of a business account; for bots only. Request type for Tdjson#editBusinessMessageCaption.

interface EditBusinessMessageCaption {
    @type: "editBusinessMessageCaption";
    business_connection_id: string;
    caption: FormattedText;
    chat_id: number;
    message_id: number;
    reply_markup: ReplyMarkup;
    show_caption_above_media?: boolean;
}

Properties

@type: "editBusinessMessageCaption"
business_connection_id: string

Unique identifier of business connection on behalf of which the message was sent.

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.

message_id: number

Identifier of 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.