Creates an offcanvas (slide-out) panel containing a chat interface. The offcanvas can slide in from any side of the screen.
Arguments
- id
Namespace ID for the module
- title
Title displayed in the offcanvas header (default: "Chat")
- placement
Position of the offcanvas: "end" (right), "start" (left), "bottom", or "top" (default: "end")
- width
Width in pixels for side placement (default: 420)
- open_label
Text label for the button that opens the chat (default: "Chat")
- open_class
CSS classes for the open button (default: "btn btn-dark")
- open_icon
Optional icon name for the open button (e.g., "comments")
- chat_ui_args
Named list of additional arguments passed to shinychat::chat_mod_ui
- welcome_message
Optional welcome message to display when chat is first opened. If provided, this will be passed to the chat UI function via chat_ui_args.
- header_right
Optional UI elements to display in the header's right side
- suggested_prompts
Optional vector of suggested prompt strings to display as chips.