Skip to content

editBusinessMessageCaption

Function · TDLib 1.8.67 · d1085f9c

Edits the caption of a message sent on behalf of a business account; for bots only

editBusinessMessageCaption(
  business_connection_id: string,
  chat_id: int53,
  message_id: int53,
  reply_markup: ReplyMarkup,
  caption: FormattedText,
  show_caption_above_media: Bool
) → BusinessMessage

business_connection_id

string

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

chat_id

int53

The chat the message belongs to

message_id

int53

Identifier of the message

reply_markup

ReplyMarkup

The new message reply markup; pass null if none

caption

FormattedText

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

show_caption_above_media

Bool

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