Skip to content

Commit 1a3d896

Browse files
committedJul 27, 2024·
docs: Cleanup migration guide
1 parent 4e4519d commit 1a3d896

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/introduction/migration_v2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This migration guide is organized by the importance of the changes:
2525

2626
It is recommended to read in order, but for a quick upgrade, refer to the [**summary**](#summary) section.
2727

28-
Note: The documentation site now resides on [**react-chatbotify.com](https://react-chatbotify.com) instead of [**react-chatbotify.tjtanjin.com**](https://react-chatbotify.tjtanjin.com)
28+
Note: The documentation site now resides on [**react-chatbotify.com**](https://react-chatbotify.com) instead of [**react-chatbotify.tjtanjin.com**](https://react-chatbotify.tjtanjin.com)
2929

3030
## Breaking Changes
3131
In version 1, the focus was on **making things work**, ensuring features like audio behavior, mobile view, and message notifications functioned correctly.
@@ -64,7 +64,7 @@ The [**`render`**](https://react-chatbotify.com/legacy/v1/docs/api/attributes#pr
6464
Changes Required:
6565
- Replace `render` attribute with `component` attribute inside all applicable conversation blocks
6666

67-
### Renamed sendAttachmentOutput to sendFileName, moved from chatInput section to fileAttachment section
67+
### Moved and renamed sendAttachmentOutput to sendFileName
6868
In the past, controlling whether file names were sent into chat for file attachments was determined via `sendAttachmentOutput` within `chatInput` section. However, this was a poor fit, as there was a `fileAttachment` section where such an option would be more relevant. With the addition of `showMediaDisplay`, it is also more appropriate to standardize these properties with `fileAttachment`. `sendAttachmentOutput` has also been renamed to `sendFileName` which more clearly communicates its purpose.
6969

7070
Changes Required:

0 commit comments

Comments
 (0)
Please sign in to comment.