messages.sponsoredMessages

A set of sponsored messages associated to a channel

Constructor schema is available as of layer 148. Switch ยป

Parameters

Name Type Description
flags # Flags, see TL conditional fields
posts_between flags.0?int If set, specifies the minimum number of messages between shown sponsored messages; otherwise, only one sponsored message must be shown after all ordinary messages.
messages Vector<SponsoredMessage> Sponsored messages
chats Vector<Chat> Chats mentioned in the sponsored messages
users Vector<User> Users mentioned in the sponsored messages

Type

messages.SponsoredMessages