copyWith method
UpdateDeleteMessages
copyWith({
- int? chatId,
- List<
int> ? messageIds, - bool? isPermanent,
- bool? fromCache,
- dynamic extra,
- 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,
);