Raw.messages.SponsoredMessages
A set of sponsored messages associated to a channel
messages.sponsoredMessages#c9ee1d87 flags:# posts_between:flags.0?int messages:Vector<SponsoredMessage> chats:Vector<Chat> users:Vector<User> = messages.SponsoredMessages;
export namespace Raw {
export namespace messages {
export class SponsoredMessages {
constructor(params: {
postsBetween?: number;
messages: Array<Raw.TypeSponsoredMessage>;
chats: Array<Raw.TypeChat>;
users: Array<Raw.TypeUser>;
}) {}
}
}
}
🚫
This is a types constructor, you can’t use it as method when call invoke.
Layer: 185
Constructor ID: 0xc9ee1d87
Property
postsBetween
: number or undefinedIf set, specifies the minimum number of messages between shown sponsored messages; otherwise, only one sponsored message must be shown after all ordinary messages.
messages
: Array of Raw.TypeSponsoredMessageSponsored messages
chats
: Array of Raw.TypeChatChats mentioned in the sponsored messages
users
: Array of Raw.TypeUserUsers mentioned in the sponsored messages