# Class: User
# Hierarchy
- User
# Index
# Constructors
# Properties
# Constructors
# constructor
+ new User(r: object): User
Defined in src/structures/user.ts:12 (opens new window)
# Parameters:
| Name | Type |
|---|---|
r | object |
Returns: User
# Properties
# avatar
• avatar: string
Defined in src/structures/user.ts:7 (opens new window)
# discriminator
• discriminator: string
Defined in src/structures/user.ts:6 (opens new window)
• email: string
Defined in src/structures/user.ts:9 (opens new window)
# flags
• flags: number
Defined in src/structures/user.ts:10 (opens new window)
# id
• id: string
Defined in src/structures/user.ts:4 (opens new window)
# premium_type
• premium_type: number
Defined in src/structures/user.ts:11 (opens new window)
# public_flags
• public_flags: number
Defined in src/structures/user.ts:12 (opens new window)
# username
• username: string
Defined in src/structures/user.ts:5 (opens new window)
# verified
• verified: boolean
Defined in src/structures/user.ts:8 (opens new window)