This document explains the user object.
Refer to the user object example for more details.
type | description |
|---|---|
| The user's ID. |
To create a member user, you must use memberId.
Refer to the memberId in the boot option and the boot.
type | description |
|---|---|
| The ID used for recognizing a member user. If memberId is specified in the boot option, the user is considered a member user. |
type | description |
|---|---|
| The name of a user. Set via updateUser. |
type | description |
|---|---|
| The URL of the user's avatar image. |
type | description |
|---|---|
| The total count of unread notifications for the user. It includes the number of |
type | description |
|---|---|
| The count of important unread notifications for the user. It is displayed as a number on the channel button. |
type | description |
|---|---|
| A user’s profile information. Set via updateUser or the profile of boot option. |
Use onFollowUpChanged to register a callback function that is invoked when the user updates their profile.
type | description |
|---|---|
| Indicates whether the user has opted out of marketing emails. Set via updateUser or unsubscribeEmail of boot option. |
type | description |
|---|---|
| Indicates whether the user has opted out of marketing SMS. Set via updateUser or unsubscribeTexting of boot option. |
type | description |
|---|---|
| A list of tags associated with the user. All tags are in lowercase. Set via updateUser, addTags, and removeTags. |
type | description |
|---|---|
| The user's language setting. Used for translation purposes. Set via updateUser and language of boot option. Following 32 languages supported. : 'de'(German), 'hi'(Hindi), 'no'(Norwegian), 'ru'(Russian), 'fi'(Finnish), 'pt'(Portuguese), 'hr'(Croatian), 'fr'(French), 'hu'(Hungarian), 'uk'(Ukrainian), 'sk'(Slovak), 'ca'(Catalan), 'sv'(Swedish), 'ko'(Korean), 'id'(Indonesian), 'ms'(Malay), 'el'(Greek), 'en'(English), 'it'(Italian), 'es'(Spanish), 'he'(Hebrew), 'zh'(Chinese), 'cs'(Czech), 'ar'(Arabic), 'vi'(Vietnamese),'th'(Thai), 'ja'(Japanese), 'pl'(Polish), 'ro'(Romanian), 'da'(Danish), 'nl'(Dutch), 'tr'(Turkish) |