Readonly
[toPrivate
clientReadonly
sizeStatic
Readonly
[species]Unique Id
Optional
avatar?: { Avatar attachment
Unique Id
Raw content type of this file
Optional
deleted?: booleanWhether this file was deleted
Original filename
Optional
message_Parsed metadata of this file
Optional
object_Id of the object this file is associated with
Optional
reported?: booleanWhether this file was reported
Optional
server_Format: int
Size of this file (in bytes)
Tag / bucket this file was uploaded to
Optional
user_Optional
badges?: numberFormat: int32
Bitfield of user badges
Optional
bot?: { Bot information
Id of the owner of this bot
Discriminator
Optional
display_Display name
Optional
flags?: numberFormat: int32
Enum of user flags
Optional
online?: booleanWhether this user is currently online
Optional
privileged?: booleanWhether this user is privileged
Optional
profile?: { User's profile page
Optional
background?: { Background visible on user's profile
Unique Id
Raw content type of this file
Optional
deleted?: booleanWhether this file was deleted
Original filename
Optional
message_Parsed metadata of this file
Optional
object_Id of the object this file is associated with
Optional
reported?: booleanWhether this file was reported
Optional
server_Format: int
Size of this file (in bytes)
Tag / bucket this file was uploaded to
Optional
user_Optional
content?: stringText content on user's profile
Optional
relations?: { Relationships with other users
Optional
relationship?: "Blocked" | "Friend" | "Incoming" | "None" | "Outgoing" | "User" | "BlockedOther"Current session user's relationship with this user
Optional
status?: { User's current status
Optional
presence?: "Online" | "Idle" | "Focus" | "Busy" | "Invisible"Current presence option
Optional
text?: stringCustom status text
Username
Returns a specified element from the Map object. If the value that is associated to the provided key is an object, then you will get a reference to that object and any change made to that object will effectively modify it inside the Map.
Returns the element associated with the specified key. If no element is associated with the specified key, undefined is returned.
Stops listening for Map updates.
this
, useful for chaining.
The callback to stop listening for updates on.
Listen for an update to this Map.
this
, useful for chaining.
The callback to run when an update occurs.
Returns
the number of elements in the Map.