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
| Name | Type | Description |
|---|---|---|
| category | TopChatCategory | Category of chats to be returned. |
| limit | number | Maximum number of chats to be returned; up to 30. |
More details on telegram’s documentation.