get Conversation List By Page
Retrieves the conversation list in a paginated manner.
Since
5.0.0
Parameters
Callback to handle the retrieved conversation list.
Timestamp in milliseconds. Conversations before this timestamp will be retrieved. Pass 0 to start from the latest conversation. Refer to getSentTime.
Number of conversations to retrieve. If the actual number of retrieved conversations is less than the specified count, it indicates that all data has been fetched. It is recommended not to exceed 10 conversations per request, as fetching a large number of conversations at once may cause cross-process communication to crash, leading to failure in retrieving the conversation list and interruption of the communication connection.
Types of conversations to retrieve.
Fetches the conversation list with pagination.
Since
5.6.9
Parameters
The callback for retrieving the conversation list.
The timestamp in milliseconds. Conversations before this timestamp will be fetched. Passing 0 indicates fetching from the latest conversation. Refer to getSentTime.
The number of conversations to retrieve. If the actual number of retrieved conversations is less than the specified count, it indicates that all data has been fetched. It is recommended not to exceed 10, as fetching too many conversations at once may cause cross-process communication crashes, leading to failure in retrieving the conversation list and interruption of the communication connection.
Whether to prioritize pinned messages (determines the sorting of the query results. If true, pinned conversations are returned first; if false, results are sorted solely by conversation time).
The types of conversations to retrieve.