Skip to main content

Discord User Information (DiscordUserInfo)

Data Structure

INTLDiscordUserInfo

ParametersTypeExplanation
UIdFStringUser ID
avatarUrlFStringAvatar URL
UserNameFStringUsername
DisplayNameFStringDisplayed Username
StatusintStatus Type:
Online = 0, Offline = 1, Blocked = 2,
Idle = 3, Do Not Disturb = 4, Invisible = 5, Streaming = 6, Unknown = 7
RelationshipTypeintFriendship Type:
Unknown = 0, Friend = 1, Blocked = 2,
Pending Friend Request = 3, Sent Friend Request = 4
IsInGameintIs Playmate Friend: No = 0, Yes = 1, Unknown = 2
Note: Definition of playmate friend, both are Discord friends and have registered a game account
GIdFStringGame OpenID, if not a game player then ""
LastLoginTimestamplongTimestamp of the last login, if not a game player then 0
PresenceINTLDiscordRichPresenceUser's Game Status
ExtraJsonFStringExtended JSON field, default is empty string