Class TdApi.InputMessageDocument

Enclosing class:
TdApi

public static class TdApi.InputMessageDocument extends TdApi.InputMessageContent
A document message (general file).
  • Field Details

    • document

      public TdApi.InputDocument document
      Document to be sent.
    • caption

      public TdApi.FormattedText caption
      Document caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • InputMessageDocument

      public InputMessageDocument()
      A document message (general file).
    • InputMessageDocument

      public InputMessageDocument(TdApi.InputDocument document, TdApi.FormattedText caption)
      A document message (general file).
      Parameters:
      document - Document to be sent.
      caption - Document caption; pass null to use an empty caption; 0-getOption("message_caption_length_max") characters.
  • Method Details

    • getConstructor

      public int getConstructor()
      Description copied from class: TdApi.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR