TDLib v0.0.2 TDLib.Method.GetTopChats View Source

Returns a list of frequently used chats. Supported only if the chat info database is enabled. Returns object_ptr.

NameTypeDescription
categoryTopChatCategoryCategory of chats to be returned.
limitnumberMaximum number of chats to be returned; up to 30.

More details on telegram’s documentation.