Class TdApi.LinkPreviewTypeBackground

Enclosing class:
TdApi

public static class TdApi.LinkPreviewTypeBackground extends TdApi.LinkPreviewType
The link is a link to a background. Link preview title and description are available only for filled backgrounds.
  • Field Details

    • document

      public TdApi.Document document
      Document with the background; may be null for filled backgrounds.
    • CONSTRUCTOR

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

    • LinkPreviewTypeBackground

      public LinkPreviewTypeBackground()
      The link is a link to a background. Link preview title and description are available only for filled backgrounds.
    • LinkPreviewTypeBackground

      public LinkPreviewTypeBackground(TdApi.Document document)
      The link is a link to a background. Link preview title and description are available only for filled backgrounds.
      Parameters:
      document - Document with the background; may be null for filled backgrounds.
  • 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