Skip to main content

DiscordUserInfo

Data structure

INTLDiscordUserInfo: Discord Personal information.

参数类型说明
uidstringThe user identifier in discord
avatarUrlstringURL of the user's avatar in PNG format.
userNamestringThe user's name in discord
displayNamestringThe user's display name in discord
statusintThe user's status in discord:
Online = 0, Offline = 1, Blocked = 2, Idle = 3, Dnd = 4, Invisible = 5, Streaming = 6, Unknown = 7
relationshipTypeintThe relationship between the user and the connected user:
None = 0, Friend = 1, Blocked = 2,
PendingIncoming = 3, PendingOutgoing = 4
isInGameintwhether the user is in the game : No = 0, Yes = 1, Unknown = 2
gidstringThe user's game openid, null if not in the game
lastLoginTimestamplongLast login time of the connected user which will be set to 0 if the user not in the game
presenceFINTLRichPresencegame activity status of the user
extraJsonstringextra null string params in a json format