User Object

An object that contains information about user

id

TypeDescription
stringa user id used inside channel

name

TypeDescription
stringa user name

memberId

TypeDescription
stringmember (user) identification id used by your company

mobileNumber

TypeDescription
stringa user's mobile number

profile

TypeDescription
objectan object contains key/value information

Example:

  var user = {
    "id": "USER_ID",
    "name": "USER_NAME",
    "memberId": "MEMBER_ID",
    "profile": {
      "name": "PROFILE_USER_NAME",
      "mobileNumber": "PROFILE_MOBILE_NUMBER",
      "CUSTOM_VALUE_1": "VALUE_1",
      "CUSTOM_VALUE_2": "VALUE_2"
    }
  }