A sponsored peer.
Constructor schema is available as of layer 201. Switch »
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
random_id | bytes | ID of the sponsored peer, to be passed to messages.viewSponsoredMessage, messages.clickSponsoredMessage or messages.reportSponsoredMessage (the same methods used for sponsored messages »). |
peer | Peer | The sponsored peer. |
sponsor_info | flags.0?string | If set, contains additional information about the sponsor to be shown along with the peer. |
additional_info | flags.1?string | If set, contains additional information about the sponsored message to be shown along with the peer. |
Mark a specific sponsored message » as read
Informs the server that the user has interacted with a sponsored message in one of the ways listed here ».
Report a sponsored message », see here » for more info on the full flow.