interface APIUserWithMember
extends
APIUserexport interface APIUserWithMember extends APIUser
The user's banner color encoded as an integer representation of hexadecimal color code
Inherited from: APIUser
optionalAPIAvatarDecorationData | null avatar_decoration_data? :
The data for the user's avatar decoration
Inherited from: APIUser
See also: https://discord.com/developers/docs/resources/user#avatar-decoration-data-objectundefined
Use avatar_decoration_data instead
The user's avatar decoration hash
Inherited from: APIUser
See also: https://discord.com/developers/docs/reference#image-formattingundefined
The user's avatar hash
Inherited from: APIUser
See also: https://discord.com/developers/docs/reference#image-formattingundefined
The user's banner hash
Inherited from: APIUser
See also: https://discord.com/developers/docs/reference#image-formattingundefined
optionalAPICollectibles | null collectibles? :
The data for the user's collectibles
Inherited from: APIUser
See also: https://discord.com/developers/docs/resources/user#collectiblesundefined
optionalUserFlags flags? :
The flags on a user's account
Inherited from: APIUser
See also: https://discord.com/developers/docs/resources/user#user-object-user-flagsundefined
The user's display name, if it is set. For bots, this is the application name
Inherited from: APIUser
optionalAPIGuildMemberNoUser member? :
The member
field is only present in MESSAGE_CREATE
and MESSAGE_UPDATE
events from text-based guild channels
See also: https://discord.com/developers/docs/resources/guild#guild-member-objectundefined
optionalboolean mfa_enabled? :
Whether the user has two factor enabled on their account
Inherited from: APIUser
optionalUserPremiumType premium_type? :
The type of Nitro subscription on a user's account
Inherited from: APIUser
See also: https://discord.com/developers/docs/resources/user#user-object-premium-typesundefined
optionalAPIUserPrimaryGuild | null primary_guild? :
The user's primary guild
Inherited from: APIUser
See also: https://discord.com/developers/docs/resources/user#user-object-user-primary-guildundefined
optionalUserFlags public_flags? :
The public flags on a user's account
Inherited from: APIUser
See also: https://discord.com/developers/docs/resources/user#user-object-user-flagsundefined