Class TdApi.InputAudio

java.lang.Object
org.drinkless.tdlib.TdApi.Object
org.drinkless.tdlib.TdApi.InputAudio
Enclosing class:
TdApi

public static class TdApi.InputAudio extends TdApi.Object
An audio to be sent.
  • Field Details

    • audio

      public TdApi.InputFile audio
      Audio file to be sent.
    • albumCoverThumbnail

      public TdApi.InputThumbnail albumCoverThumbnail
      Thumbnail of the cover for the album; pass null to skip thumbnail uploading.
    • duration

      public int duration
      Duration of the audio, in seconds; may be replaced by the server.
    • title

      public String title
      Title of the audio; 0-64 characters; may be replaced by the server.
    • performer

      public String performer
      Performer of the audio; 0-64 characters, may be replaced by the server.
    • CONSTRUCTOR

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

    • InputAudio

      public InputAudio()
      An audio to be sent.
    • InputAudio

      public InputAudio(TdApi.InputFile audio, TdApi.InputThumbnail albumCoverThumbnail, int duration, String title, String performer)
      An audio to be sent.
      Parameters:
      audio - Audio file to be sent.
      albumCoverThumbnail - Thumbnail of the cover for the album; pass null to skip thumbnail uploading.
      duration - Duration of the audio, in seconds; may be replaced by the server.
      title - Title of the audio; 0-64 characters; may be replaced by the server.
      performer - Performer of the audio; 0-64 characters, may be replaced by the server.
  • 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