ChannelType

Entries

Link copied to clipboard

A text channel within a guild.

Link copied to clipboard

A direct message between users.

Link copied to clipboard

A voice channel within a guild.

Link copied to clipboard

A direct message between multiple users.

Link copied to clipboard

An organizational category that contains up to 50 channels.

Link copied to clipboard

A channel that users can follow and crosspost into their own guild.

Link copied to clipboard

A temporary sub-channel within a GUILD_ANNOUNCEMENT channel.

Link copied to clipboard

A temporary sub-channel within a GUILD_TEXT channel.

Link copied to clipboard

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

Link copied to clipboard

A voice channel for hosting events with an audience.

Link copied to clipboard

A channel in a hub containing the listed servers.

Link copied to clipboard

A channel that can only contain threads.

Link copied to clipboard

An unknown channel type.

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun getId(): Int

Get the id of the channel type.

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard