SponsoredMessage

class pyrogram.raw.types.SponsoredMessage

Telegram API type.

Constructor of SponsoredMessage.

Details:
  • Layer: 194

  • ID: 4D93A990

Parameters:
  • random_id (bytes) – N/A

  • url (str) – N/A

  • title (str) – N/A

  • message (str) – N/A

  • button_text (str) – N/A

  • recommended (bool, optional) – N/A

  • can_report (bool, optional) – N/A

  • entities (List of MessageEntity, optional) – N/A

  • photo (Photo, optional) – N/A

  • media (MessageMedia, optional) – N/A

  • color (PeerColor, optional) – N/A

  • sponsor_info (str, optional) – N/A

  • additional_info (str, optional) – N/A