ChannelType enum

The type of a channel.



ChannelType.parse(int value)
Parse a ChannelType from a value.


guildText → const ChannelType

A text channel in a Guild.

const ChannelType._(0)
dm → const ChannelType

A DM channel with a single other recipient.

const ChannelType._(1)
guildVoice → const ChannelType

A voice channel in a Guild.

const ChannelType._(2)
groupDm → const ChannelType

A DM channel with multiple recipients.

const ChannelType._(3)
guildCategory → const ChannelType

A category in a Guild.

const ChannelType._(4)
guildAnnouncement → const ChannelType

An announcement channel in a Guild.

const ChannelType._(5)
announcementThread → const ChannelType

A Thread in an announcement channel.

const ChannelType._(10)
publicThread → const ChannelType

A public thread.

const ChannelType._(11)
privateThread → const ChannelType

A private thread.

const ChannelType._(12)
guildStageVoice → const ChannelType

A stage channel in a Guild.

const ChannelType._(13)
guildDirectory → const ChannelType

A Guild directory.

const ChannelType._(14)
guildForum → const ChannelType

A forum channel in a Guild.

const ChannelType._(15)
guildMedia → const ChannelType

A media channel in a Guild.

const ChannelType._(16)


hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
The value of this ChannelType.


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


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


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