Add user to channel.
user id
frontend server id which user has connected to
Destroy channel.
Get Member info.
user id
member info
Get channel members.
Notice: Heavy operation.
channel member uid list
Get channel UserAmount in a channel.
channel member amount
Remove user from channel.
user id
frontend server id which user has connected to.
true if success or false if fail
Push message to all the members in the channel
message route
message that would be sent to client
user-defined push options, optional
callback function
Channel maintains the receiver collection for a subject. You can add users into a channel and then broadcast message to them by channel.
channel