Package org.drinkless.tdlib

# Class TdApi.LinkPreviewTypeAlbum

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.LinkPreviewType
org.drinkless.tdlib.TdApi.LinkPreviewTypeAlbum

Enclosing class:
  `TdApi`

public static class TdApi.LinkPreviewTypeAlbum extends TdApi.LinkPreviewType
The link is a link to a media album consisting of photos and videos.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class org.drinkless.tdlib.TdApi.LinkPreviewType

  `TdApi.LinkPreviewType.Constructors`

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `String`
  `caption`
  Album caption.
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `TdApi.LinkPreviewAlbumMedia[]`
  `media`
  The list of album media.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LinkPreviewTypeAlbum()`
  The link is a link to a media album consisting of photos and videos.
  `LinkPreviewTypeAlbum(TdApi.LinkPreviewAlbumMedia[] media, String caption)`
  The link is a link to a media album consisting of photos and videos.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `getConstructor()`
  Returns an identifier uniquely determining type of the object.

  ### Methods inherited from class org.drinkless.tdlib.TdApi.Object

  `toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### media

    public TdApi.LinkPreviewAlbumMedia[] media
    The list of album media.

  - ### caption

    public String caption
    Album caption.

  - ### CONSTRUCTOR

    public static final int CONSTRUCTOR
    Identifier uniquely determining type of the object.
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### LinkPreviewTypeAlbum

    public LinkPreviewTypeAlbum()
    The link is a link to a media album consisting of photos and videos.

  - ### LinkPreviewTypeAlbum

    public LinkPreviewTypeAlbum(TdApi.LinkPreviewAlbumMedia[] media, String caption)
    The link is a link to a media album consisting of photos and videos.
    Parameters:
      `media` - The list of album media.
      `caption` - Album caption.

- ## 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.LinkPreviewType`
    Returns:
      this.CONSTRUCTOR