interface APIUserWithMember
extends
APIUserexport interface APIUserWithMember extends APIUserThe user's banner color encoded as an integer representation of hexadecimal color code
Inherited from: APIUser
optionalavatar_decoration_data? : APIAvatarDecorationData | null
The data for the user's avatar decoration
Inherited from: APIUser
See also: https://discord.com/developers/docs/resources/user#avatar-decoration-data-object
Use avatar_decoration_data instead
The user's avatar decoration hash
Inherited from: APIUser
See also: https://discord.com/developers/docs/reference#image-formatting
The user's avatar hash
Inherited from: APIUser
See also: https://discord.com/developers/docs/reference#image-formatting
The user's banner hash
Inherited from: APIUser
See also: https://discord.com/developers/docs/reference#image-formatting
optionalcollectibles? : APICollectibles | null
The data for the user's collectibles
Inherited from: APIUser
See also: https://discord.com/developers/docs/resources/user#collectibles
optionalflags? : UserFlags
The flags on a user's account
Inherited from: APIUser
See also: https://discord.com/developers/docs/resources/user#user-object-user-flags
The user's display name, if it is set. For bots, this is the application name
Inherited from: APIUser
optionalmember? : APIGuildMemberNoUser
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-object
optionalmfa_enabled? : boolean
Whether the user has two factor enabled on their account
Inherited from: APIUser
optionalpremium_type? : UserPremiumType
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-types
optionalprimary_guild? : APIUserPrimaryGuild | null
The user's primary guild
Inherited from: APIUser
See also: https://discord.com/developers/docs/resources/user#user-object-user-primary-guild
optionalpublic_flags? : UserFlags
The public flags on a user's account
Inherited from: APIUser
See also: https://discord.com/developers/docs/resources/user#user-object-user-flags