Package dev.kord.core.entity.channel

Types

CategorizableChannel
Link copied to clipboard
interface CategorizableChannel : TopGuildChannel, CategorizableChannelBehavior

An instance of a Discord channel associated to a category.

Category
Link copied to clipboard
class Category(data: ChannelData, kord: Kord, supplier: EntitySupplier) : TopGuildChannel, CategoryBehavior

An instance of a Discord category associated to a guild.

Channel
Link copied to clipboard
interface Channel : ChannelBehavior

An instance of a Discord Channel

DmChannel
Link copied to clipboard
data class DmChannel(data: ChannelData, kord: Kord, supplier: EntitySupplier) : MessageChannel

An instance of a Discord DM channel.

GuildChannel
Link copied to clipboard
interface GuildChannel : Channel, GuildChannelBehavior

An instance of a Discord channel associated to a guild.

GuildMessageChannel
Link copied to clipboard
MessageChannel
Link copied to clipboard
interface MessageChannel : Channel, MessageChannelBehavior

An instance of a Discord channel that can use messages.

NewsChannel
Link copied to clipboard

An instance of a Discord News Channel associated to a guild.

ResolvedChannel
Link copied to clipboard
class ResolvedChannel(data: ChannelData, kord: Kord, strategy: EntitySupplyStrategy<*>) : Channel
StageChannel
Link copied to clipboard
class StageChannel(data: ChannelData, kord: Kord, supplier: EntitySupplier) : CategorizableChannel, StageChannelBehavior

An instance of a Discord Stage Channel associated to a community guild.

StoreChannel
Link copied to clipboard
data class StoreChannel(data: ChannelData, kord: Kord, supplier: EntitySupplier) : CategorizableChannel, StoreChannelBehavior

An instance of a Discord Store Channel associated to a guild.

TextChannel
Link copied to clipboard
class TextChannel(data: ChannelData, kord: Kord, supplier: EntitySupplier) : CategorizableChannel, TextChannelBehavior, ThreadParentChannel

An instance of a Discord Text Channel associated to a guild.

ThreadParentChannel
Link copied to clipboard
TopGuildChannel
Link copied to clipboard
interface TopGuildChannel : GuildChannel, TopGuildChannelBehavior

An instance of a Discord channel associated to a guild.

TopGuildMessageChannel
Link copied to clipboard

An instance of a Discord message channel associated to a guild.

VoiceChannel
Link copied to clipboard
class VoiceChannel(data: ChannelData, kord: Kord, supplier: EntitySupplier) : CategorizableChannel, VoiceChannelBehavior

An instance of a Discord Voice Channel associated to a guild.

WelcomeScreenChannel
Link copied to clipboard
class WelcomeScreenChannel(data: WelcomeScreenChannelData, kord: Kord, supplier: EntitySupplier) : ChannelBehavior

One of the channels shown in the welcome screen

Functions

createInvite
Link copied to clipboard
inline suspend fun CategorizableChannel.createInvite(builder: InviteCreateBuilder.() -> Unit = {}): Invite

Request to create an invite for this channel.