sponsoredPeer

A sponsored peer.

Constructor schema is available as of layer 201. Switch »

Parameters

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 &raquo).
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.

Type

SponsoredPeer

Related pages

messages.viewSponsoredMessage

Mark a specific sponsored message » as read

messages.clickSponsoredMessage

Informs the server that the user has interacted with a sponsored message in one of the ways listed here ».

messages.reportSponsoredMessage

Report a sponsored message », see here » for more info on the full flow.

Sponsored messages