SDKsAndroid
Reset group mention status
Use resetConversationGroupAtType() to reset an Android conversation group mention state.
After handling group messages that mention the current user, call resetConversationGroupAtType() to reset groupAtType to the normal state.
OpenIMClient.getInstance().conversationManager.resetConversationGroupAtType(
new OnBase<String>() {
@Override
public void onSuccess(String data) {
markGroupMentionStateReset(conversationID);
}
@Override
public void onError(int code, String error) {
recordGroupMentionResetFailure(code, error);
}
},
conversationID
);This operation only resets the state and must not be used to set atMe or atAll. Group mention state is distinct from message read state. Reconcile the conversation through onConversationChanged.
Was this page helpful?