Optional isDisables input (while submitting or similar)
Optional onCallback when submitting a comment via the bottom text input.
Callback when submitting a comment via the bottom text input.
Optional placeholder?: stringPlaceholder text
Loading state for either overall view or for previous methods (depends on whether messages is empty)
The list of messages to show in the chat view Messages should always be provided newest-first. They will be displayed with the newest at the bottom.
When the latest message id changes, the user scroll will be updated automatically if the user is currently at the bottom, otherwise they will remain where they are.
Optional avatarAvatar used if no image is provided; if not provided, no avatar shown
Optional avatarAvatar link href (requires onNavigate)
Optional avatarAvatar picture
Message bubble content
Date time the message was created at, as an ISO string Messages will then be grouped by days based on the configured locale via the luxon library
Identifier for this message (for callbacks)
Optional isMessages that are your own are highlighted
Optional title?: stringTitle string (appears above the bubble)
On navigate callback
On navigate callback
Callback when the user has scrolled up and reached the top of the chat view This can be used to fetch more messages from the server.
Callback when the user has scrolled up and reached the top of the chat view This can be used to fetch more messages from the server.
Generated using TypeDoc
Configs for the comment input at the bottom of the page