SponsoredMessage¶
- class pyrogram.raw.types.SponsoredMessage¶
Telegram API type.
Constructor of
SponsoredMessage
.- Details:
Layer:
194
ID:
4D93A990
- Parameters:¶
random_id (
bytes
) – N/Aurl (
str
) – N/Atitle (
str
) – N/Amessage (
str
) – N/Abutton_text (
str
) – N/Arecommended (
bool
, optional) – N/Acan_report (
bool
, optional) – N/Aentities (List of
MessageEntity
, optional) – N/Aphoto (
Photo
, optional) – N/Amedia (
MessageMedia
, optional) – N/Acolor (
PeerColor
, optional) – N/Asponsor_info (
str
, optional) – N/Aadditional_info (
str
, optional) – N/A