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.

NameTypeDescription
offset_orderstringChat order to return chats from.
offset_chat_idstringChat identifier to return chats from.
limitnumberThe 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.