copyWith method
SearchSecretMessages
copyWith({
- int? chatId,
- String? query,
- String? offset,
- int? limit,
- SearchMessagesFilter? filter,
Implementation
SearchSecretMessages copyWith({
int? chatId,
String? query,
String? offset,
int? limit,
SearchMessagesFilter? filter,
}) =>
SearchSecretMessages(
chatId: chatId ?? this.chatId,
query: query ?? this.query,
offset: offset ?? this.offset,
limit: limit ?? this.limit,
filter: filter ?? this.filter,
);