copyWith method

ReportChatSponsoredMessage copyWith({
  1. int? chatId,
  2. int? messageId,
  3. String? optionId,
})

Implementation

ReportChatSponsoredMessage copyWith({
  int? chatId,
  int? messageId,
  String? optionId,
}) => ReportChatSponsoredMessage(
  chatId: chatId ?? this.chatId,
  messageId: messageId ?? this.messageId,
  optionId: optionId ?? this.optionId,
);