Variable ChannelTypesConst

ChannelTypes: {
    Category: 4;
    Forum: 15;
    GuildDirectory: 14;
    Media: 16;
    News: 5;
    NewsThread: 10;
    PrivateThread: 12;
    PublicThread: 11;
    StageVoice: 13;
    Text: 0;
    Voice: 2;
} = ...

Raw discord channel type ids, for use with kindId fields and anywhere a channel type is accepted.

Channel types not listed here can still be used by passing the raw number.

Type declaration

  • Readonly Category: 4
  • Readonly Forum: 15
  • Readonly GuildDirectory: 14
  • Readonly Media: 16
  • Readonly News: 5
  • Readonly NewsThread: 10
  • Readonly PrivateThread: 12
  • Readonly PublicThread: 11
  • Readonly StageVoice: 13
  • Readonly Text: 0
  • Readonly Voice: 2

Generated using TypeDoc