messages.reportMusicListen

Report the listening duration of a music track (audio document without the voice flag), see here » for more info on the full flow.

 Method schema is available as of layer 224. Switch »

Parameters

Name Type Description
id InputDocument The InputDocument of the listened song
listened_duration int Accumulated playing time in whole seconds

Result

Bool

Only users can use this method

Related pages

InputDocument

Defines a document for subsequent interaction.

Views

Clients should report read state, message views and music listens using a specific set of methods.