haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.EditMessageCaption

Synopsis

Documentation

data EditMessageCaption Source #

Edits the message content caption. Returns the edited message after the edit is completed on the server side. Returns Message

Constructors

EditMessageCaption 

Fields

  • chat_id :: Maybe Int

    The chat the message belongs to

  • message_id :: Maybe Int

    Identifier of the message. Use messageProperties.can_be_edited to check whether the message can be edited

  • reply_markup :: Maybe ReplyMarkup

    The new message reply markup; pass null if none; for bots only

  • caption :: Maybe FormattedText

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

  • show_caption_above_media :: Maybe 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