Query a conversation
Introduction
ZIM supports querying detailed information of a conversation by specifying the conversation ID.
Procedures
After the login, a user can use the queryConversation interface to specify the conversation ID and conversation type to get detailed information about the corresponding conversation, including the conversation name, unread count, and notification status.
Untitled
String conversationID = "convId";
ZIMConversationType type = ZIMConversationType.PEER;
// Query a conversation
zim.queryConversation(conversationID,type, new ZIMConversationQueriedCallback() {
@Override
public void onConversationQueried(ZIMConversation conversation, ZIMError errorInfo) {
}
});
1