Protected
_idWill be false if the DM is closed.
Original API object.
Unique Id
Whether this direct message channel is currently open on both sides
Optional
last_Id of the last message sent in this channel
2-tuple of user ids participating in direct message
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.