messages.SponsoredMessages

A set of sponsored messages associated with a channel

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

---functions---

channels.getSponsoredMessages#ec210fbf channel:InputChannel = 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
channels.getSponsoredMessages Get a list of sponsored messages