Chat / iOS
Chat iOS v4
Chat iOS
Chat
iOS
Home
/
Chat
/
iOS
/
Channel
This is the new Docs for Chat SDK v4 for iOS. To see the previous Docs, click here.

Delete a channel

Only the operators of the channel are allowed to delete a channel. To delete a channel, follow the code below.

channel.delete { error in
    guard error == nil else {
        // Handle error.
        return
    }

    // The channel is successfully deleted from the operator's client app.
}