Optional
avatarThe avatar of the user.
Optional
avatarThe avatar decoration of the user (available for user mentions).
Whether the user is a bot.
The discriminator of the user.
The ID of the user.
Optional
publicThe public flags that the user has.
The username of the user.
Private
Readonly
webhookThe mention of the user.
The tag of the user.
Generated using TypeDoc
Represents a Discord user.
Webhooks sometimes have enough information to determine what type of user the data represents (
~#publicFlags
,~#avatarDecoration
).