messages.ReportMusicListen#

class pyrogram.raw.functions.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.

Usable by Users Bots
Details:
  • Layer: 227

  • ID: DDBCD819

Parameters:
  • id (InputDocument) – The InputDocument of the listened song

  • listened_duration (int 32-bit) – Accumulated playing time in whole seconds

Returns:

bool