我想在我的android項目中使用TD Java API。如何在tdlib中使用getChats
方法「getchats」返回聊天列表。我不知道如何使用此方法
getchats有3個參數: offset_order,offset_chat_id,限制
限制爲聊天,通過服務器發送到我的應用程序的最大數量。 什麼是offset_order和offset_chat_id?
我只能從官方技術支持找到有關此方法
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