The Bot operating this structure
The ID of this channel
The ID of the last message sent in this channel. May not point to an existing or valid message
The text channel's messages controller
The text channel's pinned messages controller
The recipient of the DM
The type of this channel
Clone a structure
Deletes a GuildChannel, or closes a DMChannel. Requires the Permission.ManageChannels permission for the guild
Posts a message to a GuildTextChannel or DMChannel. If operating on a GuildTextChannel, this endpoint requires the Permission.SendMessages permission to be present on the current user. If the MessageOptions.tts field is set to true, the Permission.SendTTSMessages permission is required for the message to be spoken
The message data. Can be:
Posts a typing indicator for a specified text channel. Useful when the bot is responding to a command and expects the computation to take a few seconds. This method may be called to let the user know that the bot is processing their message.
Update a structure and return its before and after versions
The updated data
Generated using TypeDoc
Represents a private channel between the Bot and a User