report_sponsored_message()

async Client.report_sponsored_message()

Report a sponsored message.

Usable by Users Bots
Parameters:
  • random_id (bytes) – The random ID of the sponsored message.

  • option (bytes) – The reporting option chosen by the user.

Returns:

SponsoredMessageReportResult – The report result.

Example

result = await app.report_sponsored_message(random_id, option)