IdChannel

IdChannel

Class for channel by id

Constructor

new IdChannel(_id)

Source:

Constructor accepting id of channel

Parameters:
Name Type Description
_id string

id of channel

Methods

send(cmd, data)

Source:

Send message to this channel

Parameters:
Name Type Description
cmd object

command

data object

additional data