Class TdApi.EditMessageCaption

Enclosing class:
TdApi

public static class TdApi.EditMessageCaption extends TdApi.Function<TdApi.Message>
Edits the message content caption. Returns the edited message after the edit is completed on the server side.

Returns Message

  • Field Details

    • chatId

      public long chatId
      The chat the message belongs to.
    • messageId

      public long messageId
      Identifier of the message.
    • replyMarkup

      public TdApi.ReplyMarkup replyMarkup
      The new message reply markup; pass null if none; for bots only.
    • caption

      public TdApi.FormattedText caption
      New message content caption; 0-GetOption("message_caption_length_max") characters; pass null to remove caption.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • EditMessageCaption

      public EditMessageCaption()
      Edits the message content caption. Returns the edited message after the edit is completed on the server side.

      Returns Message

    • EditMessageCaption

      public EditMessageCaption(long chatId, long messageId, TdApi.ReplyMarkup replyMarkup, TdApi.FormattedText caption)
      Edits the message content caption. Returns the edited message after the edit is completed on the server side.

      Returns Message

      Parameters:
      chatId - long The chat the message belongs to.
      messageId - long Identifier of the message.
      replyMarkup - ReplyMarkup The new message reply markup; pass null if none; for bots only.
      caption - FormattedText New message content caption; 0-GetOption("message_caption_length_max") characters; pass null to remove caption.
    • EditMessageCaption

      public EditMessageCaption(DataInput input) throws IOException
      Throws:
      IOException
  • Method Details