UserInfo
Feature Introduction
info
User information attributes
- iOS
- Android
- Flutter
- uni-app
- Browser/Electron/MiniProgram
- React-Native
- Unity
UserInfo
Field Name | Data Type | Description |
---|---|---|
userID | String | User ID |
nickName | String | User Nickname |
faceURL | String | User Avatar |
ex | String | User Extension Field |
createTime | int | User Registration Time (milliseconds) |
appMangerLevel | int | Internal field, can be ignored |
attachedInfo | String | SDK internal extension field, application layer need not be concerned |
globalRecvMsgOpt | int | Global Do Not Disturb 0: Normal; 1: Do not receive messages; 2: Receive online messages but not offline messages |
OIMUserInfo
Field Name | Data Type | Description |
---|---|---|
userID | NSString | User ID |
nickName | NSString | User Nickname |
faceURL | NSString | User Avatar |
createTime | NSInteger | User Registration Time (milliseconds) |
appMangerLevel | NSInteger | Internal field, can be ignored |
ex | NSString | User Extension Field |
attachedInfo | NSString | SDK internal extension field, application layer need not be concerned |
globalRecvMsgOpt | OIMReceiveMessageOpt | Global Message Reception Settings |
UserInfo
Field Name | Data Type | Description |
---|---|---|
userID | String | User ID |
nickName | String | User Nickname |
faceURL | String | User Avatar |
ex | String | User Extension Field |
remark | String | Note |
createTime | int | User Registration Time (milliseconds) |
appMangerLevel | int | Internal field, can be ignored |
attachedInfo | String | SDK internal extension field, application layer need not be concerned |
publicInfo | PublicUserInfo | User's public profile |
friendInfo | FriendInfo | Profile that only friends can see |
blackInfo | BlacklistInfo | Blacklist information |
isFriendship | boolean | Whether it's a friendship |
isBlacklist | boolean | Whether it's a blacklist |
globalRecvMsgOpt | int | Global Do Not Disturb 0: Normal; 1: Do not receive messages; 2: Receive online messages but not offline messages |
allowAddFriend | int | Is allowed to be added as a friend 1: Allow, 2: No |
allowBeep | int | New message ringtone 1: Allow, 2: No |
allowVibration | int | New message vibration 1: Allow, 2: No |
SelfUserInfo
Field Name | Data Type | Description |
---|---|---|
userID | string | User ID |
nickName | string | User Nickname |
faceURL | string | User Avatar |
createTime | number | User Registration Time (milliseconds) |
appMangerLevel | number | Internal field, can be ignored |
ex | string | User Extension Field |
attachedInfo | string | SDK internal extension field, application layer need not be concerned |
globalRecvMsgOpt | MessageReceiveOptType | Global Message Reception Settings |
SelfUserInfo
Field Name | Data Type | Description |
---|---|---|
userID | string | User ID |
nickName | string | User Nickname |
faceURL | string | User Avatar |
createTime | number | User Registration Time (milliseconds) |
appMangerLevel | number | Internal field, can be ignored |
ex | string | User Extension Field |
attachedInfo | string | SDK internal extension field, application layer need not be concerned |
globalRecvMsgOpt | MessageReceiveOptType | Global Message Reception Settings |
SelfUserInfo
Field Name | Data Type | Description |
---|---|---|
userID | string | User ID |
nickName | string | User Nickname |
faceURL | string | User Avatar |
createTime | number | User Registration Time (milliseconds) |
appMangerLevel | number | Internal field, can be ignored |
ex | string | User Extension Field |
attachedInfo | string | SDK internal extension field, application layer need not be concerned |
globalRecvMsgOpt | MessageReceiveOptType | Global Message Reception Settings |
UserInfo
Field Name | Data Type | Description |
---|---|---|
UserID | string | User ID |
NickName | string | User Nickname |
FaceURL | string | User Avatar |
CreateTime | number | User Registration Time (milliseconds) |
AppMangerLevel | number | Internal field, can be ignored |
Ex | string | User Extension Field |
AttachedInfo | string | SDK internal extension field, application layer need not be concerned |
GlobalRecvMsgOpt | MessageReceiveOptType | Global Message Reception Settings |