How do I send and receive messages on private channels in a chat application?

See this Stack Overflow article discussing a design pattern involving a group chat channel and a private chat channel.