Browse SDKs · Flutter
SDKsFlutter

Reset group @ mention state

Reset the group @ mention state of a specified conversation to normal with the OpenIM Flutter SDK.

Copy

After the user handles @ messages in a group chat, reset groupAtType to its normal state:

await OpenIM.iMManager.conversationManager.setConversation(
  conversationID,
  ConversationReq(groupAtType: GroupAtType.atNormal),
);

Use this operation only to reset the state to normal. Do not use it to write atMe, atAll, or other mention states proactively. Group @ mention state is different from message read state.

After the Future succeeds, merge the conversation through onConversationChanged. For the complete listener, see Retrieve the conversation list.