@sendbird/chat-ai-widget
Advanced tools
Changelog
[1.6.5] (Jun 18, 2024)
botStudioEditProps.styles.toggleButtonUrl
to customize the toggle button image.WidgetButton
component.Changelog
[1.6.4] (Jun 13, 2024)
Changelog
[1.6.3] (Jun 11, 2024)
Changelog
[1.6.2] (Jun 7, 2024)
widget_setting
when a new channel is created.sessionToken
prop for managing manual sessions.false
for mentions in self-service.Changelog
[1.6.1] (Jun 4, 2024)
Changelog
[1.6.0] (May 31, 2024)
messageInputControls
to Constant
. It allows to control enabled/disabled state of the message inputdateLocale
to Constant
. It is applied to string values of message timestamp and date separatorenableHideWidgetForDeactivatedUser
to Constant
. It is used to decide whether the chatbot widget is hidden or not when the user is deactivatedimport { ar } from 'date-fns/locale';
<ChatAiWidget
applicationId={props.applicationId}
botId={props.botId}
messageInputControls={{
blockWhileBotResponding: 30000, // Change force unblock timeout to 30 seconds. Default value is 10 seconds.
}}
dateLocale={ar} // Applies Arabic locale.
enableHideWidgetForDeactivatedUser={true}
/>
Refer to Available props section in README.md file for details.
botStudioEditProps.welcomeMessages
is given