Browse SDKs · iOS
Platform
SDKsiOS

Hide all conversations

Hide every conversation entry for the current account with OpenIM iOS SDK.

Copy

This method affects all conversations for the current account:

[[OIMManager manager] hideAllConversationsWithOnSuccess:^(NSString *data) {
    [self clearConversationList];
}
                                              onFailure:nil];

Success means that the hide request completed. The application can then clear the current account's conversation-list state and pagination references. This operation does not delete messages or chat relationships.