ChannelType enum

Inheritance

Constructors

ChannelType()
const

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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.