Browse SDKs · React Native
Platform
SDKsReact Native

Clear group mentions

Reset group chat @ mention status on a conversation using the OpenIM React Native SDK.

Copy

Reset the @ mention indicator on a group conversation after the user opens or dismisses mention alerts:

await OpenIMSDK.resetConversationGroupAtType(conversationID);

Parameters

ParameterTypeRequiredDescription
conversationIDstringYesTarget group conversation ID whose mention state will be reset.

This operation restores groupAtType to its default non-mention state. Clearing group mentions is independent of Mark conversation as read.

Return value

A resolved Promise confirms that the group mention status has been reset.

The state update triggers the OnConversationChanged event. Use conversationID to locate the target conversation in your state store and update groupAtType to GroupAtType.AtNormal. For event registration, see Retrieve conversation list.