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 #
| Name | Type | Description |
|---|---|---|
| id | InputDocument | The InputDocument of the listened song |
| listened_duration | int | Accumulated playing time in whole seconds |
Result #
Only users can use this method #
Related pages #
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.¶