Preparing search index...
The search index is not available
actionhero
actionhero
chatRoom
add
Function add
add
(
room
:
string
)
:
Promise
<
number
>
Add a new chat room. Throws an error if the room already exists.
Parameters
room:
string
Returns
Promise
<
number
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
actionhero
action
cache
chat
Room
redis
route
spec
Helper
task
Chat
Middleware
Chat
Pub
Sub
Message
add
add
Member
add
Middleware
broadcast
client
destroy
exists
generate
Member
Details
list
remove
Member
room
Status
sanitize
Member
Details
Generated using
TypeDoc
Add a new chat room. Throws an error if the room already exists.