SponsoredMessage constructor

const SponsoredMessage({
  1. required int messageId,
  2. required int sponsorChatId,
  3. ChatInviteLinkInfo? sponsorChatInfo,
  4. InternalLinkType? link,
  5. required MessageContent content,
  6. dynamic extra,
  7. 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,
});