messages.SponsoredMessages
- class pyrogram.raw.types.messages.SponsoredMessages
A set of sponsored messages associated to a channel
Constructor of
SponsoredMessages
.- Details:
Layer:
194
ID:
C9EE1D87
- Parameters:
messages (List of
SponsoredMessage
) – Sponsored messageschats (List of
Chat
) – Chats mentioned in the sponsored messagesusers (List of
User
) – Users mentioned in the sponsored messagesposts_between (
int
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.
- Functions:
This object can be returned by 1 function.
Telegram API function.