User
List of parameters used in User
Variable | Type | Description | Optional |
---|---|---|---|
id | int | unique id of the user | |
name | String | name of the user | |
imageUrl | String | profile image url of the user | ✔️ |
isGuest | bool | is user a guest | ✔️ |
userUniqueId | String | unique id of the user | |
organisationName | String | name of the organisation | ✔️ |
sdkClientInfo | SDKClientInfo | sdk client info | ✔️ |
updatedAt | int | timestamp of last update | ✔️ |
isOwner | bool | is user an owner | ✔️ |
customTitle | String | custom title of the user | ✔️ |
memberSince | String | date of joining the community | ✔️ |
route | String | route of the user | ✔️ |
state | int | state of the user | ✔️ |
communityId | int | unique id of the community | ✔️ |
createdAt | int | timestamp of user creation | ✔️ |
roles | List<UserRole> | roles of the user | ✔️ |
UserRole
UserRole
is an enum with the possible values
Value | Description |
---|---|
chatbot | This is a chatbot user. |
member | This is a normal user. |
admin | This is an admin user. |
SDKClientInfo
List of parameters used in SDKClientInfo
Variable | Type | Description | Optional |
---|---|---|---|
community | int | unique id of the community | |
user | int | unique id of the user | |
userUniqueId | String | unique id of the user | |
uuid | String | unique identifier for the SDK client | ✔️ |