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.

Layer 223

Method schema is available as of layer 224. Switch »

Parameters #

NameTypeDescription
idInputDocumentThe InputDocument of the listened song
listened_durationintAccumulated playing time in whole seconds

Result #

Bool

Only users can use this method #

InputDocument #

Defines a document for subsequent interaction.

Views and read metrics #

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