SponsoredMessages

class pyrogram.raw.types.messages.SponsoredMessages

A set of sponsored messages associated to a channel.

Constructor of SponsoredMessages.

Details:
  • Layer: 136

  • ID: 0x65a4c7d5

Parameters
  • messages (List of SponsoredMessage) – Sponsored messages.

  • chats (List of Chat) – Chats mentioned in the sponsored messages.

  • users (List of User) – Users mentioned in the sponsored messages.

Functions:

This object can be returned by 1 function.

channels.GetSponsoredMessages

Get a list of sponsored messages.