messages.ReportSponsoredMessage

class pyrogram.raw.functions.messages.ReportSponsoredMessage

Report a sponsored message », see here » for more info on the full flow.

Details:
  • Layer: 223

  • ID: 12CBF0C4

Parameters:
  • random_id (bytes) – The ad’s unique ID.

  • option (bytes) – Chosen report option, initially an empty string, see here » for more info on the full flow.

Returns:

channels.SponsoredMessageReportResult

TL Schema

messages.reportSponsoredMessage#12cbf0c4
random_id:bytes
option:bytes

= channels.SponsoredMessageReportResult

Parameter Tree

ReportSponsoredMessage
├── random_idbytes
└── optionbytes

Example

await app.invoke(
    ReportSponsoredMessage(
        random_id=b"data",
        option=b"data",
    )
)