Layer 224
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{0x01, 0x02, 0x03}, []byte{0x01, 0x02, 0x03}) if err != nil { // handle error } // result is *tg.ChannelsSponsoredMessageReportResult