Chat
Access the Chat API Consumer. You can instantiate a Chat.Client to subscribe to Chat events.
For a full list of events that a Chat.Client can subscribe to, refer to Chat Events.
Example
The following example shows how to instantiate a Chat.Client
and listen to the onMemberJoined event on the channel1 channel.
When a member joins the channel,
the bot will send a message to the channel with the number of members in the channel and the list of members.