Class TdApi.LinkPreviewTypePhoto

Enclosing class:
TdApi

public static class TdApi.LinkPreviewTypePhoto extends TdApi.LinkPreviewType
The link is a link to a photo.
  • Field Details

    • photo

      public TdApi.Photo photo
      The photo.
    • author

      public String author
      Author of the photo.
    • CONSTRUCTOR

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

    • LinkPreviewTypePhoto

      public LinkPreviewTypePhoto()
      The link is a link to a photo.
    • LinkPreviewTypePhoto

      public LinkPreviewTypePhoto(TdApi.Photo photo, String author)
      The link is a link to a photo.
      Parameters:
      photo - The photo.
      author - Author of the photo.
  • 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