Preview environment

enum ChannelType

export declare enum ChannelType

https://discord.com/developers/docs/resources/channel#channel-object-channel-types

Members

AnnouncementThread = 10

A temporary sub-channel within a Guild Announcement channel

DM = 1

A direct message between users

GroupDM = 3

A direct message between multiple users

GuildAnnouncement = 5

A channel that users can follow and crosspost into their own guildSee https://support.discord.com/hc/articles/360032008192

GuildCategory = 4

An organizational category that contains up to 50 channelsSee https://support.discord.com/hc/articles/115001580171

GuildDirectory = 14

The channel in a Student Hub containing the listed serversSee https://support.discord.com/hc/articles/4406046651927

GuildForum = 15

A channel that can only contain threads

GuildMedia = 16

A channel like forum channels but contains media for server subscriptionsSee https://creator-support.discord.com/hc/articles/14346342766743

deprecated
GuildNews = 5

A channel that users can follow and crosspost into their own guild

deprecated
GuildNewsThread = 10

A temporary sub-channel within a Guild Announcement channel

deprecated
GuildPrivateThread = 12

A temporary sub-channel within a Guild Text channel that is only viewable by those invited and those with the Manage Threads permission

deprecated
GuildPublicThread = 11

A temporary sub-channel within a Guild Text channel

GuildStageVoice = 13

A voice channel for hosting events with an audienceSee https://support.discord.com/hc/articles/1500005513722

GuildText = 0

A text channel within a guild

GuildVoice = 2

A voice channel within a guild

PrivateThread = 12

A temporary sub-channel within a Guild Text channel that is only viewable by those invited and those with the Manage Threads permission

PublicThread = 11

A temporary sub-channel within a Guild Text or Guild Forum channel