Report the listening duration of a music track (audio document without the voice flag), see here » for more info on the full flow.
boolFalse#bc799737 = Bool;
boolTrue#997275b5 = Bool;
---functions---
messages.reportMusicListen#ddbcd819 id:InputDocument listened_duration:int = Bool;
| Name | Type | Description |
|---|---|---|
| id | InputDocument | The InputDocument of the listened song |
| listened_duration | int | Accumulated playing time in whole seconds |
Defines a document for subsequent interaction.
Clients should report read state, message views and music listens using a specific set of methods.