copyWith method

  1. @override
UpdateMessageInteractionInfo copyWith({
  1. int? chatId,
  2. int? messageId,
  3. MessageInteractionInfo? interactionInfo,
  4. dynamic extra,
  5. int? clientId,
})
override

Implementation

@override
UpdateMessageInteractionInfo copyWith({
  int? chatId,
  int? messageId,
  MessageInteractionInfo? interactionInfo,
  dynamic extra,
  int? clientId,
}) => UpdateMessageInteractionInfo(
  chatId: chatId ?? this.chatId,
  messageId: messageId ?? this.messageId,
  interactionInfo: interactionInfo ?? this.interactionInfo,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);