TDLib v0.0.1 TDLib.Method.GetChats View Source
Returns an ordered list of chats. Chats are sorted by the pair (order, chat_id) in decreasing order. (For example, to get a list of chats from the beginning, the offset_order should be equal to 2^63 - 1.)
Returns object_ptr
Name | Type | Description |
---|---|---|
offset_order | string | Chat order to return chats from. |
offset_chat_id | string | Chat identifier to return chats from. |
limit | number | The maximum number of chats to be returned. It is possible that fewer chats than the limit are returned even if the end of the list is not reached. |
More details on telegram’s documentation.