Class TdApi.LinkPreviewTypeDocument

Enclosing class:
TdApi

public static class TdApi.LinkPreviewTypeDocument extends TdApi.LinkPreviewType
The link is a link to a general file.
  • Field Details

    • document

      public TdApi.Document document
      The document description.
    • author

      public String author
      Author of the document.
    • CONSTRUCTOR

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

    • LinkPreviewTypeDocument

      public LinkPreviewTypeDocument()
      The link is a link to a general file.
    • LinkPreviewTypeDocument

      public LinkPreviewTypeDocument(TdApi.Document document, String author)
      The link is a link to a general file.
      Parameters:
      document - The document description.
      author - Author of the document.
  • 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