ChannelType class final

The type of a channel.

Constructors

ChannelType.parse(int value)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
The value this enum-like holds.
finalinherited

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

announcementThread → const ChannelType
A Thread in an announcement channel.
dm → const ChannelType
A DM channel with a single other recipient.
groupDm → const ChannelType
A DM channel with multiple recipients.
guildAnnouncement → const ChannelType
An announcement channel in a Guild.
guildCategory → const ChannelType
A category in a Guild.
guildDirectory → const ChannelType
A Guild directory.
guildForum → const ChannelType
A forum channel in a Guild.
guildMedia → const ChannelType
A media channel in a Guild.
guildStageVoice → const ChannelType
A stage channel in a Guild.
guildText → const ChannelType
A text channel in a Guild.
guildVoice → const ChannelType
A voice channel in a Guild.
privateThread → const ChannelType
A private thread.
publicThread → const ChannelType
A public thread.