chore: Update website-sdk documentation (#1267)
Update the `website-sdk` documentation to reflect the feedback on setUser method from a customer
This commit is contained in:
parent
17e5c01948
commit
bc8becf49c
1 changed files with 4 additions and 4 deletions
|
@ -66,10 +66,10 @@ window.$chatwoot.toggle();
|
||||||
### To set the user in the widget
|
### To set the user in the widget
|
||||||
|
|
||||||
```js
|
```js
|
||||||
window.$chatwoot.setUser('identifier_key', {
|
window.$chatwoot.setUser('<unique-identifier-key-of-the-user>', {
|
||||||
email: 'email@example.com',
|
email: '<email-address-of-the-user@your-domain.com>',
|
||||||
name: 'name',
|
name: '<name-of-the-user>',
|
||||||
avatar_url: '',
|
avatar_url: '<avatar-url-of-the-user>',
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue