View Source ExTDLib.Method.SearchRecentlyFoundChats (ExTDLib v0.0.4)

Searches for the specified query in the title and username of up to 50 recently found chats; this is an offline request. Returns object_ptr<Chats>.

NameTypeDescription
querystringQuery to search for.
limitnumberThe maximum number of chats to be returned.

More details on telegram's documentation.