telegram api method · layer 191 · #af8ff6b9
channels.reportSponsoredMessage
not in the latest layer 229: last defined in layer 191
definition
channels.reportSponsoredMessage#af8ff6b9 channel:InputChannel random_id:bytes option:bytes = channels.SponsoredMessageReportResult;
parameters
| name | type | description |
|---|---|---|
channel | InputChannel | |
random_id | bytes | |
option | bytes |
returns
channels.SponsoredMessageReportResult
errors (3)
| code | error | description |
|---|---|---|
| 400 | AD_EXPIRED | The ad has expired (too old or not found). |
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | PREMIUM_ACCOUNT_REQUIRED | A premium account is required to execute this action. |
history
present in layers 177–191
| id | layers |
|---|---|
| #af8ff6b9 | 177–191 |