SDKsWASMEnterprise
Set a conversation remark
Set a remark on one of the current user’s conversations.
remark is maintained by the current user for a conversation. It does not change the other user's nickname, a friend remark, or the group name.
await openimsdk.setConversation({
conversationID,
remark: 'Project discussion',
});Pass an empty string to clear the remark. When displaying the conversation name, choose between remark and the original conversation showName according to product rules. Do not write a conversation remark back to a user or group profile.
After the Promise succeeds, use conversationID to update the remark on the matching conversation when OnConversationChanged arrives. See Get the conversation list for the complete listener.
Was this page helpful?