Interface ListenToAudio

Informs TDLib that an audio file was listened to by the user. Request type for Tdjson#listenToAudio.

interface ListenToAudio {
    @type: "listenToAudio";
    audio_file_id: number;
    duration: number;
}

Properties

@type: "listenToAudio"
audio_file_id: number

Identifier of the file with the audio.

duration: number

Duration of listening to the audio, in seconds.