Interface ListenToAudio

Informs TDLib that an audio was listened 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 an audio.

duration: number

Duration of the listening to the audio, in seconds.