SponsoredMessage constructor
const
SponsoredMessage({
- required int messageId,
- required int sponsorChatId,
- ChatInviteLinkInfo? sponsorChatInfo,
- InternalLinkType? link,
- required MessageContent content,
- dynamic extra,
- int? clientId,
Describes a sponsored message
Implementation
const SponsoredMessage({
required this.messageId,
required this.sponsorChatId,
this.sponsorChatInfo,
this.link,
required this.content,
this.extra,
this.clientId,
});