copyWith method
      
SponsoredMessage
copyWith({ 
    
    
- int? messageId,
- int? sponsorChatId,
- ChatInviteLinkInfo? sponsorChatInfo,
- InternalLinkType? link,
- MessageContent? content,
- dynamic extra,
- int? clientId,
Implementation
SponsoredMessage copyWith({
  int? messageId,
  int? sponsorChatId,
  ChatInviteLinkInfo? sponsorChatInfo,
  InternalLinkType? link,
  MessageContent? content,
  dynamic extra,
  int? clientId,
}) => SponsoredMessage(
  messageId: messageId ?? this.messageId,
  sponsorChatId: sponsorChatId ?? this.sponsorChatId,
  sponsorChatInfo: sponsorChatInfo ?? this.sponsorChatInfo,
  link: link ?? this.link,
  content: content ?? this.content,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);