messages.sponsoredMessages

A set of sponsored messages associated to a channel

messages.sponsoredMessages#65a4c7d5 messages:Vector<SponsoredMessage> chats:Vector<Chat> users:Vector<User> = messages.SponsoredMessages;

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