-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## [1.6.0] (May 31, 2024) ### Feat: - Added `messageInputControls` to `Constant`. It allows to control enabled/disabled state of the message input - Added `dateLocale` to `Constant`. It is applied to string values of message timestamp and date separator - Added the `enableHideWidgetForDeactivatedUser` to `Constant`. It is used to decide whether the chatbot widget is hidden or not when the user is deactivated ```tsx import { 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**](./README.md#available-props) file for details. ### Fix: - Fixed a bug where multiple timestamps of messages are not grouped into one when should be if `botStudioEditProps.welcomeMessages` is given --------- Co-authored-by: sendbird-sdk-deployment <[email protected]>
- Loading branch information
1 parent
b676ec3
commit df88ea2
Showing
7 changed files
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters