SponsoredPeer#
- class pyrogram.raw.types.SponsoredPeer#
A sponsored peer.
Constructor of
SponsoredPeer.- Details:
Layer:
220ID:
C69708D3
- Parameters:
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 (
str, optional) – If set, contains additional information about the sponsor to be shown along with the peer.additional_info (
str, optional) – If set, contains additional information about the sponsored message to be shown along with the peer.