copyWith method

  1. @override
UpdateMessageContent copyWith({
  1. int? chatId,
  2. int? messageId,
  3. MessageContent? newContent,
  4. dynamic extra,
  5. int? clientId,
})
override

Implementation

@override
UpdateMessageContent copyWith({
  int? chatId,
  int? messageId,
  MessageContent? newContent,
  dynamic extra,
  int? clientId,
}) => UpdateMessageContent(
  chatId: chatId ?? this.chatId,
  messageId: messageId ?? this.messageId,
  newContent: newContent ?? this.newContent,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);