messages.SponsoredMessages

A set of sponsored messages associated with a channel

messages.sponsoredMessages#c9ee1d87 flags:# posts_between:flags.0?int messages:Vector<SponsoredMessage> chats:Vector<Chat> users:Vector<User> = messages.SponsoredMessages;
messages.sponsoredMessagesEmpty#1839490f = messages.SponsoredMessages;

---functions---

messages.getSponsoredMessages#9bd2f439 peer:InputPeer = messages.SponsoredMessages;

Constructors

Constructor Description
messages.sponsoredMessages A set of sponsored messages associated to a channel
messages.sponsoredMessagesEmpty No sponsored messages are available.

Methods

Method Description
messages.getSponsoredMessages Get a list of sponsored messages for a peer, see here ยป for more info.