Deprecated
API and gateway v8 are deprecated and the types will not receive further updates, please update to v10.
import { type APIUser } from "https://deno.land/x/discord_api_types@0.37.18/payloads/v8/mod.ts";
Properties
id: Snowflake
The user's id
The user's avatar hash
See https://discord.com/developers/docs/reference#image-formatting
Whether the user is an Official Discord System user (part of the urgent message system)
The user's banner hash
See https://discord.com/developers/docs/reference#image-formatting
The user's banner color encoded as an integer representation of hexadecimal color code
optional
flags: UserFlagsThe flags on a user's account
See https://discord.com/developers/docs/resources/user#user-object-user-flags
optional
public_flags: UserFlagsThe public flags on a user's account
See https://discord.com/developers/docs/resources/user#user-object-user-flags