searchChats¶
Searches for the specified query in the title and username of already known chats. This is an offline method. Returns chats in the order seen in the main chat list
searchChats(
query: string,
type_filter: SearchChatTypeFilter,
limit: int32
) → Chats