View Source ExTDLib.Method.GetChats (ExTDLib v0.0.4)
Returns an ordered list of chats from the beginning of a chat list. For informational purposes only. Use loadChats and updates processing instead to maintain chat lists in a consistent state. Returns object_ptr<Chats>.
| Name | Type | Description |
|---|---|---|
| chat_list | ChatList | The chat list in which to return chats; pass null to get chats from the main chat list. |
| limit | number | The maximum number of chats to be returned. |
More details on telegram's documentation.