ChannelType enum

Inheritance
Available extensions

Values

guildText → const ChannelType

a text channel within a server

dm → const ChannelType

a direct message between users

guildVoice → const ChannelType

a voice channel within a server

groupDm → const ChannelType

a direct message between multiple users

guildCategory → const ChannelType

an organizational category that contains up to 50 channels

guildNews → const ChannelType

a channel that users can follow and crosspost into their own server

guildStore → const ChannelType

a channel in which game developers can sell their game on Discord

guildNewsThread → const ChannelType

a temporary sub-channel within a GUILD_NEWS channel

guildPublicThread → const ChannelType

a temporary sub-channel within a GUILD_TEXT channel

guildPrivateThread → const ChannelType

a temporary sub-channel within a GUILD_TEXT channel that is only viewable by those invited and those with the MANAGE_THREADS permission

guildStageVoice → const ChannelType

a voice channel for hosting events with an audience

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int

Available on ChannelType, provided by the ChannelTypeExtension extension

Get the value of the enum
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<ChannelType>
A constant List of the values in this enum, in order of their declaration.