Interface InputAudio

An audio to be sent.

interface InputAudio {
    @type: "inputAudio";
    album_cover_thumbnail: InputThumbnail;
    audio: InputFile;
    duration: number;
    performer: string;
    title: string;
}

Properties

@type: "inputAudio"
album_cover_thumbnail: InputThumbnail

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

audio: InputFile

Audio file to be sent.

duration: number

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

performer: string

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

title: string

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