Class TdApi.LinkPreviewTypeArticle

Enclosing class:
TdApi

public static class TdApi.LinkPreviewTypeArticle extends TdApi.LinkPreviewType
The link is a link to a web site.
  • Field Details

    • photo

      public TdApi.Photo photo
      Article's main photo; may be null.
    • author

      public String author
      Author of the article.
    • CONSTRUCTOR

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

    • LinkPreviewTypeArticle

      public LinkPreviewTypeArticle()
      The link is a link to a web site.
    • LinkPreviewTypeArticle

      public LinkPreviewTypeArticle(TdApi.Photo photo, String author)
      The link is a link to a web site.
      Parameters:
      photo - Article's main photo; may be null.
      author - Author of the article.
  • 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