get Conversation List
Retrieves the local conversation list of the current user. The returned list includes the following types of conversations: one-to-one chat, group, discussion group, and system conversation.
This method reads the conversation list from the local database. The returned conversation list is sorted in chronological order, with pinned conversations appearing first.
If you need to retrieve other types of conversation lists, use getConversationList.
This method should be called after the database connection is opened, as indicated by the OnDatabaseOpened
callback, IRongCoreCallback.ConnectCallback.
Since
5.1.1
Parameters
The callback for retrieving the conversation list.
The business identifier of the conversation to which the message belongs.
Retrieves the local conversation list of the current user based on the conversation type.
Since
5.1.1
Parameters
The callback for retrieving the conversation list.
The types of conversations to retrieve.
The business identifier of the conversation to which the message belongs.