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:
Pranav Raj S 2020-09-23 15:27:11 +05:30 committed by GitHub
parent 17e5c01948
commit bc8becf49c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>',
}); });
``` ```