copyWith method

  1. @override
UpdateDeleteMessages copyWith({
  1. int? chatId,
  2. List<int>? messageIds,
  3. bool? isPermanent,
  4. bool? fromCache,
  5. dynamic extra,
  6. int? clientId,
})
override

Implementation

@override
UpdateDeleteMessages copyWith({
  int? chatId,
  List<int>? messageIds,
  bool? isPermanent,
  bool? fromCache,
  dynamic extra,
  int? clientId,
}) =>
    UpdateDeleteMessages(
      chatId: chatId ?? this.chatId,
      messageIds: messageIds ?? this.messageIds,
      isPermanent: isPermanent ?? this.isPermanent,
      fromCache: fromCache ?? this.fromCache,
      extra: extra ?? this.extra,
      clientId: clientId ?? this.clientId,
    );