SDKsReact Native
Hide a conversation
Hide a conversation from the current account's conversation list.
Call hideConversation() to hide a conversation from the current account's conversation list. A new message or later conversation synchronization may make it appear again.
await OpenIMSDK.hideConversation(conversationID);Parameters
conversationID is the ID of the conversation to hide.
Return result
After the call completes, remove the conversation with the matching conversationID from the current list. If OnConversationChanged is received later, update the list by conversationID. See Retrieve the conversation list for listener details.
Was this page helpful?