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.
  • 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:
  • 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