Chat SDKs Android v4
Chat SDKs Android
Chat SDKs
Android
Version 4
Delete a channel
Copy link
Only channel operators are allowed to delete a channel. To delete a channel, follow the code below.
Open channel
Copy link
Group channel
Copy link
Only channel operators are allowed to delete a channel. To delete a channel, follow the code below.
openChannel.delete { e -> if (e != null) { // Handle error. } // The channel is successfully deleted from the client app. }
groupChannel.delete { e -> if (e != null) { // Handle error. return@delete } // The channel is successfully deleted from the client app. }