onChannelList

Triggered when player logs in.

Parameters
    • channels: array contains channel id and channel name
Usage
onChannelList(function(channels)

    for k,v in pairs(channels) do
      local channelId = v[1]
      local channelName = v[2]
		info("channel name" .. channelName)
    end

  end)