The Bot operating this structure
The guild this channel is associated to
The ID of this channel
The guild channel's invites controller
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 name of the channel
The ID of this channel's parent category
This guild channel's permission overwrites controller
The text channel's pinned messages controller
Sorting position of the channel
The topic of the channel. Possibly null if channel does not have a topic
The type of this channel
The guild channel's webhooks controller
Parent GuildCategoryChannel of this channel. Possibly null if this channel does not have a parent category channel, or the category is not cached
Deletes multiple messages in a single request. Requires the Permission.ManageMessages permission
An array of the messages IDs you wish to delete
Clone a structure
Deletes a GuildChannel, or closes a DMChannel. Requires the Permission.ManageChannels permission for the guild
Update a channel's settings. Requires the Permission.ManageChannels permission for the guild.
The modified channel's settings
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 channel found in a guild of type ChannelType.GuildText