copyWith method

SearchChatMembers copyWith({
  1. int? chatId,
  2. String? query,
  3. int? limit,
  4. ChatMembersFilter? filter,
})

Implementation

SearchChatMembers copyWith({
  int? chatId,
  String? query,
  int? limit,
  ChatMembersFilter? filter,
}) => SearchChatMembers(
  chatId: chatId ?? this.chatId,
  query: query ?? this.query,
  limit: limit ?? this.limit,
  filter: filter ?? this.filter,
);