IdChannel

IdChannel

Class for channel by id

Constructor

new IdChannel(_id)

Description:
  • Constructor accepting id of channel

Source:
Parameters:
Name Type Description
_id string

id of channel

Methods

send(cmd, data)

Description:
  • Send message to this channel

Source:
Parameters:
Name Type Description
cmd object

command

data object

additional data