How are channels opened and closed?

How channels are opened:
Please see the following documentation for opening a channel
 
N.B. Remember to take into account name spacing rules

How channels are closed:
Channels cannot be closed explicitly. Once all clients globally have detached from the channel, the channel will be released in the Ably service within 1 minute. 
Please also see the connection state change side effects on channels.
 
If you are seeing channel failures then please refer to our documentation for further details.
 
As always, get in touch by emailing support@ably.com if you have any questions about this or another part of Ably.