Skip to content

Commit

Permalink
doc: Add more attributes in setUser (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
muhsin-k committed Mar 2, 2022
1 parent 942fd04 commit 129fc57
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/product/channels/live-chat/sdk/setup.md
Expand Up @@ -99,6 +99,16 @@ window.$chatwoot.setUser(`<unique-identifier-key-of-the-user>`, {
email: '', // Email of the user
identifier_hash: '', // Identifier Hash generated based on the webwidget hmac_token
phone_number: '', // Phone Number of the user
description:'', // description about the user
country_code:'' // Two letter country code
city: '' // City of the user
social_profiles:{
twitter:'', // Twitter user name
linkedin:'', // LinkedIn user name
facebook:'' , // Facebook user name
github:'' // Github user name
}

})
```

Expand Down

0 comments on commit 129fc57

Please sign in to comment.