chat_room_new (public, deprecated)

 chat_room_new [ -description description ] \
    [ -moderated_p moderated_p ] [ -active_p active_p ] \
    [ -archive_p archive_p ] [ -auto_flush_p auto_flush_p ] \
    [ -auto_transcript_p auto_transcript_p ] \
    [ -login_messages_p login_messages_p ] \
    [ -logout_messages_p logout_messages_p ] \
    [ -messages_time_window messages_time_window ] \
    [ -context_id context_id ] [ -creation_user creation_user ] \
    [ -creation_ip creation_ip ] [ -avatar_p avatar_p ] pretty_name

Defined in packages/chat/tcl/chat-procs.tcl

Deprecated. Invoking this procedure generates a warning.

Create new chat room. Return room_id if successful else raise error.

Switches:
-description (optional)
-moderated_p (optional, defaults to "f")
-active_p (optional, defaults to "t")
-archive_p (optional, defaults to "f")
-auto_flush_p (optional, defaults to "t")
-auto_transcript_p (optional, defaults to "f")
-login_messages_p (optional, defaults to "t")
-logout_messages_p (optional, defaults to "t")
-messages_time_window (optional, defaults to "600")
-context_id (optional)
-creation_user (optional)
-creation_ip (optional)
-avatar_p (optional, defaults to "t")
Parameters:
pretty_name (required)
See Also:
  • xo::db::chat_room

Partial Call Graph (max 5 caller/called nodes):
%3 ad_log_deprecated ad_log_deprecated (public) chat_room_new chat_room_new chat_room_new->ad_log_deprecated

Testcases:
No testcase defined.
[ show source ]
Show another procedure: