sponsoredPeer
A sponsored peer.
type tg.SponsoredPeer struct { /* ... */ }
Fields
| Name | Type | Required | Description |
|---|---|---|---|
RandomID | []byte | yes | ID of the sponsored peer, to be passed to messages.viewSponsoredMessage, messages clickSponsoredMessage or messages.reportSponsoredMessage (the same methods used for sponsored messages »). |
Peer | PeerClass | yes | The sponsored peer. |
SponsorInfo | string | — | If set, contains additional information about the sponsor to be shown along with the peer. |
AdditionalInfo | string | — | If set, contains additional information about the sponsored message to be shown along with the peer. |
References
- Official documentation
- Generated Go reference
- TL definition:
sponsoredPeer#c69708d3