({{, CreateChatRoom[shortname,title] 
creates a chat room with the short name shortname and title title.}})

OpenersNotesSection(Spacer1)Details

To use CreateChatRoom, you first need to load the package using (RefLink[Needs, paclet:ref/Needs])["ChatTools`"].

Short names are available on a first-come, first-served basis.

CreateChatRoom has the following options:

"RoomType" can be either "OpenGroup" or "PromptedResponse".

The (Subscript[id, i]) in "Moderators"->{(Subscript[id, 1]),(Subscript[id, 2]),…} are Wolfram Cloud user IDs.

The room's creator is automatically a moderator.

In rooms created with "Type"->"PromptedResponse", only the room creator and other specified moderators will see all messages. Other users will only see messages from themselves and moderators.

Messages sent by moderators are visible to all participants.

Chat rooms persist until removed with (PackageLink[DeleteChatRoom, paclet:ChatTools/ref/DeleteChatRoom, ChatTools Package Symbol]).

OpenersPrimaryExamplesSection(Spacer1)Examples  (4)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

First load the package:

Needs["ChatTools`"]

Make a chat room with short name algor and title Algorithms:

CreateChatRoom["algor","Algorithms"]

OpenersExampleSection1(Spacer1)Options  (2)

OpenersExampleSubsection0(Spacer1)"RoomType"  (1)

The default setting of the "RoomType" option is "OpenGroup":

Needs["ChatTools`"]

CreateChatRoom["pinball","Pinball Team Meeting"]

"RoomType"->"PromptedResponse" is ideal for classrooms:

Needs["ChatTools`"]

CreateChatRoom["mathclass","Mr. Mall's Math Class","RoomType"->"PromptedResponse"]

OpenersExampleSubsection1(Spacer1)"Moderators"  (1)

The list of moderators is a list of Wolfram Cloud user IDs:

Needs["ChatTools`"]

CreateChatRoom["mathclass","Mr. Mall's Math Class","RoomType"->"PromptedResponse","Moderators"->{"john.doe@wolfram.com","jane.smith@wolfram.com"}]

OpenersExampleSection2(Spacer1)Properties & Relations  (1)

Delete a chat room that is no longer needed, using the short name:

Needs["ChatTools`"]

DeleteChatRoom["mathclass"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(PackageLink[DeleteChatRoom, paclet:ChatTools/ref/DeleteChatRoom, ChatTools Package Symbol])  ▪  (PackageLink[CreateChat, paclet:ChatTools/ref/CreateChat, ChatTools Package Symbol])}})}})

({{(Spacer1), ({{(Spacer1)Related Links}, {(Spacer1)▪(WebLink[(Spacer1)Wolfram Chat Terms of Use, https://www.wolfram.com/legal/terms/wolfram-chat.html])}})}})