ChatTools`
ChatTools`

CreateChatRoom

CreateChatRoom[shortname,title]

creates a chat room with the short name shortname and title title.

更多信息和选项

  • To use CreateChatRoom, you first need to load the package using Needs["ChatTools`"].
  • Short names are available on a first-come, first-served basis.
  • CreateChatRoom has the following options:
  • "RoomType""OpenGroup"room type specification
    "Moderators"Nonelist of users with elevated privileges
  • "RoomType" can be either "OpenGroup" or "PromptedResponse".
  • The idi in "Moderators"->{id1,id2,} 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 DeleteChatRoom.

范例

打开所有单元关闭所有单元

基本范例  (1)

First load the package:

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

Options  (2)

"RoomType"  (1)

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

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

"Moderators"  (1)

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

Properties & Relations  (1)

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

Wolfram Research (2018),CreateChatRoom,Wolfram 语言函数,https://reference.wolfram.com/language/ChatTools/ref/CreateChatRoom.html.

文本

Wolfram Research (2018),CreateChatRoom,Wolfram 语言函数,https://reference.wolfram.com/language/ChatTools/ref/CreateChatRoom.html.

CMS

Wolfram 语言. 2018. "CreateChatRoom." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ChatTools/ref/CreateChatRoom.html.

APA

Wolfram 语言. (2018). CreateChatRoom. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ChatTools/ref/CreateChatRoom.html 年

BibTeX

@misc{reference.wolfram_2024_createchatroom, author="Wolfram Research", title="{CreateChatRoom}", year="2018", howpublished="\url{https://reference.wolfram.com/language/ChatTools/ref/CreateChatRoom.html}", note=[Accessed: 21-December-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_createchatroom, organization={Wolfram Research}, title={CreateChatRoom}, year={2018}, url={https://reference.wolfram.com/language/ChatTools/ref/CreateChatRoom.html}, note=[Accessed: 21-December-2024 ]}