ChannelSelectMenu

Interface for channel select menus.

Inheritors

Properties

Link copied to clipboard
abstract var channelTypes: MutableList<ChannelType>

The types allowed in the select menu.

Link copied to clipboard
abstract var defaultChannels: MutableList<Snowflake>

Default channels to preselect.

Functions

Link copied to clipboard
open fun applyChannelSelectMenu(selectMenu: SelectMenu<*, *>, builder: ActionRowBuilder)

Apply the channel select menu to an action row builder.

Link copied to clipboard
open fun channelType(vararg types: ChannelType)

Add an allowed channel type to the selector.

Link copied to clipboard
open fun defaultChannel(vararg channels: Snowflake)
open fun defaultChannel(vararg channels: ChannelBehavior)
open fun defaultChannel(channels: Collection<Snowflake>)

Add default pre-selected channels to the selector.