export interface APIUserWithMember extends APIUser
The user's banner color encoded as an integer representation of hexadecimal color code
Inherited from: APIUser
optionalexternalAPIAvatarDecorationData | 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-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
optionalexternalboolean bot? :
Whether the user belongs to an OAuth2 application
Inherited from: APIUser
optionalexternalAPICollectibles | null collectibles? :
The data for the user's collectibles
Inherited from: APIUser
See also: https://discord.com/developers/docs/resources/user#collectibles
optionalexternalUserFlags flags? :
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
optionalexternalAPIGuildMemberNoUser 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-object
optionalexternalboolean mfa_enabled? :
Whether the user has two factor enabled on their account
Inherited from: APIUser
optionalexternalUserPremiumType 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-types
optionalexternalAPIUserPrimaryGuild | null primary_guild? :
The user's primary guild
Inherited from: APIUser
See also: https://discord.com/developers/docs/resources/user#user-object-user-primary-guild
optionalexternalUserFlags 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-flags
optionalexternalboolean system? :
Whether the user is an Official Discord System user (part of the urgent message system)
Inherited from: APIUser