Create generic class collection
Client
Private #objectsPrivate #storageReadonly clientReadonly getReadonly updateCreate a new instance of an object
Id
Type
Instance
Context
Optional data: unknownData
Get or create
Id
Data
Unique Id
Optional avatar?: null | { Avatar attachment
Optional badges?: null | numberFormat: int32
Bitfield of user badges
Optional bot?: null | { Bot information
Optional flags?: null | numberFormat: int32
Enum of user flags
Optional online?: null | booleanWhether this user is currently online
Optional privileged?: booleanWhether this user is privileged
Optional profile?: null | { User's profile page
Optional relations?: null | { Relationships with other users
Optional relationship?: null | "User" | "None" | "Friend" | "Outgoing" | "Incoming" | "Blocked" | "BlockedOther"Current session user's relationship with this user
Optional status?: null | { User's current status
Username
Generated using TypeDoc
Collection of Users