Package org.drinkless.tdlib

# Class TdApi.LinkPreviewTypeEmbeddedAudioPlayer

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

Enclosing class:
  TdApi

public static class TdApi.LinkPreviewTypeEmbeddedAudioPlayer extends TdApi.LinkPreviewType
The link is a link to an audio player.

- ## 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`
  `author`
  Author of the audio.
  `static final int`
  `CONSTRUCTOR`
  Identifier uniquely determining type of the object.
  `int`
  `duration`
  Duration of the audio, in seconds.
  `String`
  `url`
  URL of the external audio player.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LinkPreviewTypeEmbeddedAudioPlayer()`
  The link is a link to an audio player.
  `LinkPreviewTypeEmbeddedAudioPlayer(String url, int duration, String author)`
  The link is a link to an audio player.

- ## 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

  - ### url

    public String url
    URL of the external audio player.

  - ### duration

    public int duration
    Duration of the audio, in seconds.

  - ### author

    public String author
    Author of the audio.

  - ### CONSTRUCTOR

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

- ## Constructor Details

  - ### LinkPreviewTypeEmbeddedAudioPlayer

    public LinkPreviewTypeEmbeddedAudioPlayer()
    The link is a link to an audio player.

  - ### LinkPreviewTypeEmbeddedAudioPlayer

    public LinkPreviewTypeEmbeddedAudioPlayer(String url, int duration, String author)
    The link is a link to an audio player.
    Parameters:
      `url` - URL of the external audio player.
      `duration` - Duration of the audio, in seconds.
      `author` - Author of the audio.

- ## 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