Only channel operators are allowed to delete a channel. You can do so by following the code below.
openChannel.Delete((inError) => { if (inError != null) return; // Handle error. });
groupChannel.Delete((inError) => { if (inError != null) return; //Handle error. });