- class pyrogram.raw.types.messages.SponsoredMessages#
A set of sponsored messages associated to a channel.
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.
32-bit, optional) – If set, specifies the minimum number of messages between shown sponsored messages; otherwise, only one sponsored message must be shown after all ordinary messages.
This object can be returned by 1 function.
Get a list of sponsored messages.