SponsoredMessage#

class hydrogram.raw.types.SponsoredMessage[source]#

Telegram API type.

Constructor of SponsoredMessage.

Details:
  • Layer: 166

  • ID: DAAFFF6B

Parameters:
  • random_id (bytes) – N/A

  • message (str) – N/A

  • recommended (bool, optional) – N/A

  • show_peer_photo (bool, optional) – N/A

  • from_id (Peer, optional) – N/A

  • chat_invite (ChatInvite, optional) – N/A

  • chat_invite_hash (str, optional) – N/A

  • channel_post (int 32-bit, optional) – N/A

  • start_param (str, optional) – N/A

  • webpage (SponsoredWebPage, optional) – N/A

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

  • sponsor_info (str, optional) – N/A

  • additional_info (str, optional) – N/A