Browse SDKs · React Native
Platform
SDKsReact NativeEnterprise

Update a conversation group

Modify conversation group properties such as name, visibility, or extensions using the OpenIM React Native SDK.

Copy

Modify the name, custom extension, or visibility of an existing conversation group. Pass only the fields that need to be changed:

const group = await OpenIMSDK.updateConversationGroup({
  conversationGroupID,
  name: 'Priority Work',
  hidden: false,
});

Parameters

ParameterTypeRequiredDescription
conversationGroupIDstringYesTarget conversation group ID to update.
namestringNoNew display name for the group.
exstringNoNew custom business extension string.
hiddenbooleanNoWhether to hide the group in the UI.

Return value

Resolves to the updated ConversationGroupResp object.

Modifications trigger the OnConversationGroupChanged event. Locate the group using conversationGroupID to reconcile properties in your local group state. For event listener setup, see Conversation groups overview.