Construct User collection
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?: numberFormat: uint32
Bitfield of user badges
https://docs.rs/revolt-models/latest/revolt_models/v0/enum.UserBadges.html
Optional
bot?: null | { Bot information
Discriminator
Optional
display_Display name
Optional
flags?: numberFormat: uint32
Enum of user flags
https://docs.rs/revolt-models/latest/revolt_models/v0/enum.UserFlags.html
Whether this user is currently online
Optional
privileged?: booleanWhether this user is privileged
Optional
relations?: { Relationships with other users
Current session user's relationship with this user
Optional
status?: null | { User's current status
Username
Map the collection using a given callback
Callback
Generated using TypeDoc
Collection of Users