In the code above I register a packet listener for channel list response in the Start() function. When I want to retrieve the list, I call the "RequestChannelData()" function. Doing so sends a request to the server, saying "give me the channel list". When this list arrives, the callback set in Start() gets called (UpdateWorldData). I then read the data, effectively getting the full list of open channels.
Lobby server lets you get a list of servers, but you said you want a list of channels, not servers. To get a list of channels from the server, you need to write code because you need to actually do something with the channel information that you get back. Generally "doing something" involves displaying the list of channels somehow, which is game code-specific.