Layer 227
MessagesClickSponsoredMessage
Informs the server that the user has interacted with a sponsored message in one of the ways listed here.
method
Users
messages.clickSponsoredMessage#8235057e flags:# media:flags.0?true fullscreen:flags.1?true random_id:bytes = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Media | flags .0? true | The user clicked on the media |
| Fullscreen | flags .1? true | The user expanded the video to full screen, and then clicked on it. |
| RandomId | bytes | The ad's unique ID. |
Returns
BoolGogram Example
// MessagesClickSponsoredMessage - positional arguments result, err := client.MessagesClickSponsoredMessage(nil, nil, []byte{0x01, 0x02, 0x03}) if err != nil { // handle error } // result is *tg.Bool