Protected
_idDoes not include yourself.
Original API object.
Unique Id
Optional
description?: stringChannel description
Optional
icon?: { Custom icon 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
last_Id of the last message sent in this channel
Display name of the channel
Optional
nsfw?: booleanWhether this group is marked as not safe for work
User id of the owner of the group
Optional
permissions?: numberFormat: int64
Permissions assigned to members of this group (does not apply to the owner of the group)
Array of user ids participating in channel
Mark a specific message as read/unread.
Optional
message: string | BaseMessageOptional
archived?: booleanWhether this channel is archived
Optional
description?: stringChannel description
Optional
icon?: stringIcon
Provide an Autumn attachment Id.
Optional
name?: stringChannel name
Optional
nsfw?: booleanWhether this channel is age-restricted
Optional
owner?: stringGroup owner
Optional
remove?: ("Description" | "Icon" | "DefaultPermissions")[]Rest
...args: AttachmentArgsStops 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.
Set expandMentions
to automatically turn plaintext user mentions into 'real' ones.
Set expandEmojis
to do the same for emojis (using uniqueName).
Set permissions for a role or 'default' for everyone.
Format: uint64
Allow bit flags
Format: uint64
Disallow bit flags
Update this object with new API data.
Can include your own user ID.