Skip to content

editInlineMessageCaption

Function · TDLib 1.8.67 · d1085f9c

Edits the caption of an inline message sent via a bot; for bots only

editInlineMessageCaption(
  inline_message_id: string,
  reply_markup: ReplyMarkup,
  caption: FormattedText,
  show_caption_above_media: Bool
) → Ok

inline_message_id

string

Inline message identifier

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