Layer 220
MessagesReportSponsoredMessage
Report a sponsored message, see here for more info on the full flow.
method
Users
messages.reportSponsoredMessage#12cbf0c4 random_id:bytes option:bytes = channels.SponsoredMessageReportResult;
Parameters
| Name | Type | Description |
|---|---|---|
| RandomId | bytes | The ad's unique ID. |
| Option | bytes | Chosen report option, initially an empty string, see here for more info on the full flow. |
Gogram Example
// MessagesReportSponsoredMessage - positional arguments result, err := client.MessagesReportSponsoredMessage([]byte{}, []byte{}) if err != nil { // handle error } // result is *tg.ChannelsSponsoredMessageReportResult