Skip to content

InputAudio

Type · TDLib 1.8.67 · d1085f9c

An audio to be sent

InputAudio(
  audio: InputFile,
  album_cover_thumbnail: InputThumbnail,
  duration: int32,
  title: string,
  performer: string
) → InputAudio

audio

InputFile

Audio file to be sent

album_cover_thumbnail

InputThumbnail

Thumbnail of the cover for the album; pass null to skip thumbnail uploading

duration

int32

Duration of the audio, in seconds; may be replaced by the server

title

string

Title of the audio; 0-64 characters; may be replaced by the server

performer

string

Performer of the audio; 0-64 characters, may be replaced by the server