how to use getChats in tdlib
<p>I want to use <a href="https://core.telegram.org/tdlib/Java_API" rel="noreferrer">TD Java API</a> in my android project.</p>

<p>method  "getchats" return list of chat. I dont know how to use this method</p>

<p>getchats has 3 parameters:
 offset_order, offset_chat_id, limit</p>

<p>limit is max number of chats, sent by server to my app.
what are offset_order and offset_chat_id?</p>

<p>i could only find this brief documentation about this method</p>

<pre><code>Returns list of chats in the right order, chats are sorted by (order, chat_id) in decreasing order. For example, to get list of chats from the beginning, the offset_order should be equal 2^63 - 1 
@offset_order Chat order to return chats from 
@offset_chat_id Chat identifier to return chats from 
@limit Maximum number of chats to be returned
</code></pre>