The last message sent in this channel, if any. This can be a partial object with only an id
property.
The cached messages in this channel.
The other user in this direct message.
The type of this channel.
A string that will mention this channel.
Create a message in this channel.
The options for creating the message.
Add a reaction to a message in this channel.
The ID of the message to add a reaction to.
The reaction to add to the message. name:id
for custom emojis, and the unicode codepoint for default emojis.
Remove a reaction from a message in this channel.
The ID of the message to remove a reaction from.
The reaction to remove from the message. name:id
for custom emojis, and the unicode codepoint for default emojis.
Edit a message in this channel.
The ID of the message to edit.
The options for editing the message.
Get a message in this channel.
The ID of the message to get.
Get messages in this channel.
Optional
options: GetChannelMessagesOptionsThe options for getting the messages. All options are mutually exclusive.
Get the pinned messages in this channel.
Get the users who reacted with a specific emoji on a message.
The iIDd of the message to get reactions from.
The reaction to remove from the message. name:id
for custom emojis, and the unicode codepoint for default emojis.
Optional
options: GetReactionsOptionsThe options for getting the reactions.
Static
fromStatic
getStatic
get
Represents a direct message with a user.