The flags of this channel.
The id of the guild this channel is in.
The name of this channel.
The ID of the parent of this channel, if applicable.
The type of this channel.
If this channel's metadata has been obfuscated because the client can't view it. Requires the CHANNEL_OBFUSCATION capability.
A string that will mention this channel.
The parent of this channel, if applicable.
If the channel is an AnnouncementThread, PublicThread, or PrivateThread, this will be a TextChannel, AnnouncementChannel, ForumChannel, or MediaChannel.
If the channel is a TextChannel, VoiceChannel, AnnouncementChannel, ForumChannel, or MediaChannel, this will be a CategoryChannel.
If undefined, no attempt was made to resolve the parent channel. If null, the parent channel was attempted to be resolved but was not found in the client's cache.
Edit this channel.
The options for editing the channel.
Get the computed permissions of a member in this channel, including their roles and member-specific overwrites. Requires the VIEW_CHANNEL permission, and CONNECT for voice and stage channels.
The ID of the member.
Optional options: GetChannelPermissionsOptionsThe options for getting the permissions.
Get the permissions granted by a role together with @everyone in this channel, applying their overwrites. Requires the VIEW_CHANNEL permission, and CONNECT for voice and stage channels.
The ID of the role.
Optional options: GetChannelPermissionsOptionsThe options for getting the permissions.
Static fromStatic generateIDStatic getStatic get
Represents a guild channel.