DiscordUserInfo
Data structure
INTLDiscordUserInfo: Discord Personal information.
参数 | 类型 | 说明 |
---|---|---|
uid | string | The user identifier in discord |
avatarUrl | string | URL of the user's avatar in PNG format. |
userName | string | The user's name in discord |
displayName | string | The user's display name in discord |
status | int | The user's status in discord: Online = 0, Offline = 1, Blocked = 2, Idle = 3, Dnd = 4, Invisible = 5, Streaming = 6, Unknown = 7 |
relationshipType | int | The relationship between the user and the connected user: None = 0, Friend = 1, Blocked = 2, PendingIncoming = 3, PendingOutgoing = 4 |
isInGame | int | whether the user is in the game : No = 0, Yes = 1, Unknown = 2 |
gid | string | The user's game openid, null if not in the game |
lastLoginTimestamp | long | Last login time of the connected user which will be set to 0 if the user not in the game |
presence | FINTLRichPresence | game activity status of the user |
extraJson | string | extra null string params in a json format |