Package org.drinkless.tdlib

# Class TdApi.LinkPreviewType

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

Direct Known Subclasses:
  `TdApi.LinkPreviewTypeAlbum`, `TdApi.LinkPreviewTypeAnimation`, `TdApi.LinkPreviewTypeApp`, `TdApi.LinkPreviewTypeArticle`, `TdApi.LinkPreviewTypeAudio`, `TdApi.LinkPreviewTypeBackground`, `TdApi.LinkPreviewTypeChannelBoost`, `TdApi.LinkPreviewTypeChat`, `TdApi.LinkPreviewTypeDirectMessagesChat`, `TdApi.LinkPreviewTypeDocument`, `TdApi.LinkPreviewTypeEmbeddedAnimationPlayer`, `TdApi.LinkPreviewTypeEmbeddedAudioPlayer`, `TdApi.LinkPreviewTypeEmbeddedVideoPlayer`, `TdApi.LinkPreviewTypeExternalAudio`, `TdApi.LinkPreviewTypeExternalVideo`, `TdApi.LinkPreviewTypeGiftAuction`, `TdApi.LinkPreviewTypeGiftCollection`, `TdApi.LinkPreviewTypeGroupCall`, `TdApi.LinkPreviewTypeInvoice`, `TdApi.LinkPreviewTypeLiveStory`, `TdApi.LinkPreviewTypeMessage`, `TdApi.LinkPreviewTypePhoto`, `TdApi.LinkPreviewTypePremiumGiftCode`, `TdApi.LinkPreviewTypeRequestManagedBot`, `TdApi.LinkPreviewTypeShareableChatFolder`, `TdApi.LinkPreviewTypeSticker`, `TdApi.LinkPreviewTypeStickerSet`, `TdApi.LinkPreviewTypeStory`, `TdApi.LinkPreviewTypeStoryAlbum`, `TdApi.LinkPreviewTypeSupergroupBoost`, `TdApi.LinkPreviewTypeTextCompositionStyle`, `TdApi.LinkPreviewTypeTheme`, `TdApi.LinkPreviewTypeUnsupported`, `TdApi.LinkPreviewTypeUpgradedGift`, `TdApi.LinkPreviewTypeUser`, `TdApi.LinkPreviewTypeVideo`, `TdApi.LinkPreviewTypeVideoChat`, `TdApi.LinkPreviewTypeVideoNote`, `TdApi.LinkPreviewTypeVoiceNote`, `TdApi.LinkPreviewTypeWebApp`

Enclosing class:
  `TdApi`

public abstract static class TdApi.LinkPreviewType extends TdApi.Object
This class is an abstract base class. Describes type of link preview.

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static @interface`
  `TdApi.LinkPreviewType.Constructors`
  Describes possible values returned by getConstructor().

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LinkPreviewType()`
  Default class constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `abstract 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`

- ## Constructor Details

  - ### LinkPreviewType

    public LinkPreviewType()
    Default class constructor.

- ## Method Details

  - ### getConstructor

    public abstract 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:
      identifier uniquely determining type of the object.