Skip to content

Commit 1cacf49

Browse files
nt-7corinagum
andauthored
Fix obsolete Web Chat API of Avatar (#3553)
Co-authored-by: Corina <14900841+corinagum@users.noreply.github.com>
1 parent 98cbff3 commit 1cacf49

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@ Here is how how you can add Web Chat control to your website:
107107
}),
108108
userID: 'YOUR_USER_ID',
109109
username: 'Web Chat User',
110-
locale: 'en-US',
111-
botAvatarInitials: 'WC',
112-
userAvatarInitials: 'WW'
110+
locale: 'en-US'
113111
},
114112
document.getElementById('webchat')
115113
);
@@ -119,7 +117,7 @@ Here is how how you can add Web Chat control to your website:
119117
```
120118
<!-- prettier-ignore-end -->
121119

122-
> `userID`, `username`, `locale`, `botAvatarInitials`, and `userAvatarInitials` are all optional parameters to pass into the `renderWebChat` method. To learn more about Web Chat props, look at the [Web Chat API Reference](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/API.md) documentation.
120+
> `userID`, `username`, and `locale` are all optional parameters to pass into the `renderWebChat` method. To learn more about Web Chat props, look at the [Web Chat API Reference](https://github.com/microsoft/BotFramework-WebChat/tree/master/docs/API.md) documentation.
123121
124122
> Assigning `userID` as a static value is not recommended since this will cause all users to share state. Please see the [`API userID entry`](https://github.com/microsoft/BotFramework-WebChat/blob/master/docs/API.md#userID) for more information.
125123

0 commit comments

Comments
 (0)