SearchChats constructor

const SearchChats({
  1. required String query,
  2. required int limit,
})

Searches for the specified query in the title and username of already known chats; this is an offline request. Returns chats in the order seen in the main chat list

Implementation

const SearchChats({
  required this.query,
  required this.limit,
});