You can either wait for the request to complete be connecting, this will mean when it connects it’ll have the updated channel array. Or you can connect right away, and then when the request finishes use client.join(channel) for each channel you wish to join.
1 Like