SDKsAndroid
Reset group mention status
Use resetConversationGroupAtType() to reset a group mention state for a conversation.
When a group message mentions the current user or all group members, groupAtType marks the reminder state in the conversation list. After reading the relevant message, call resetConversationGroupAtType() to clear the @ reminder from groupAtType for that conversation and update the conversation list UI.
OpenIMClient.getInstance().conversationManager.resetConversationGroupAtType(
new OnBase<String>() {
@Override
public void onSuccess(String data) {
// The request completed.
}
@Override
public void onError(int code, String error) {
// code and error describe the failure.
}
},
conversationID
);Conversation list changes can be received through onConversationChanged; see Get the conversation list for listener setup.
Was this page helpful?