Messages Class
Messages
Constructor
Messages
()
Methods
createRoom
(
async
-
company -
params -
callback
Create a new room
Parameters:
-
companyStringCompany ID
-
paramsHashParameters
-
callbackStringCallback function
getRoomByApplication
(
async
-
company -
applicationId -
params -
callback
Get a specific room by application ID
Parameters:
-
companyStringCompany ID
-
applicationIdIntegerApplication ID
-
paramsHashParameters
-
callbackStringCallback function
getRoomByContract
(
async
-
company -
contractId -
params -
callback
Get a specific room by contract ID
Parameters:
-
companyStringCompany ID
-
contractIdIntegerContract ID
-
paramsHashParameters
-
callbackStringCallback function
getRoomByOffer
(
async
-
company -
offerId -
params -
callback
Get a specific room by offer ID
Parameters:
-
companyStringCompany ID
-
offerIdIntegerOffer ID
-
paramsHashParameters
-
callbackStringCallback function
getRoomDetails
(
async
-
company -
roomId -
params -
callback
Get a specific room information
Parameters:
-
companyStringCompany ID
-
roomIdStringRoom ID
-
paramsHashParameters
-
callbackStringCallback function
getRooms
(
async
-
company -
params -
callback
Retrieve rooms information
Parameters:
-
companyStringCompany ID
-
paramsHashParameters
-
callbackStringCallback function
sendMessageToRoom
(
async
-
company -
roomId -
params -
callback
Send a message to a room
Parameters:
-
companyStringCompany ID
-
roomIdStringRoom ID
-
paramsHashParameters
-
callbackStringCallback function
updateRoomMetadata
(
async
-
company -
roomId -
params -
callback
Update the metadata of a room
Parameters:
-
companyStringCompany ID
-
roomIdStringRoom ID
-
paramsHashParameters
-
callbackStringCallback function
updateRoomSettings
(
async
-
company -
roomId -
username -
params -
callback
Update a room settings
Parameters:
-
companyStringCompany ID
-
roomIdStringRoom ID
-
usernameStringUser ID
-
paramsHashParameters
-
callbackStringCallback function
Properties
entryPoint
String
final
static
Default: api
