Full documentation
install:
npm i @plasma-platform/service-chat -S
Short documentation
Table of Contents
ChatService
- See: //chat.template-help.com/api/
Chat Micro Service API that you may adopt for your needs
Parameters
-
url
string service url -
token
(string | null) user access token if available (optional, defaultnull
)
getRooms
Get chat rooms
Parameters
-
params
(optional, default{}
)
getRoomsName
Get chat rooms of name
Parameters
roomName
-
params
(optional, default{}
)
getRoomsLocales
Get chat rooms of name
Parameters
-
params
(optional, default{}
)
getRoomsLocalesName
Get chat rooms of name
Parameters
roomName
-
params
(optional, default{}
)
messages
Object with class service messages
Type: Object