EditInlineMessageCaption constructor

const EditInlineMessageCaption({
  1. required String inlineMessageId,
  2. ReplyMarkup? replyMarkup,
  3. FormattedText? caption,
  4. required bool showCaptionAboveMedia,
})

EditInlineMessageCaption (editInlineMessageCaption) - TDLib function

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

  • inlineMessageId: Inline message identifier.
  • replyMarkup: The new message reply markup; pass null if none (optional).
  • caption: New message content caption; pass null to remove caption; 0-getOption("message_caption_length_max") characters (optional).
  • showCaptionAboveMedia: Pass true to show the caption above the media; otherwise, the caption will be shown below the media. Can be true only for animation, photo, and video messages.

Ok is returned on completion.

Implementation

const EditInlineMessageCaption({
  required this.inlineMessageId,
  this.replyMarkup,
  this.caption,
  required this.showCaptionAboveMedia,
});