invoke

operator fun invoke(customId: String, channelTypes: List<ChannelType>): ChannelSelectMenuCreator(source)

Create a new ChannelSelectMenu.

Return

ChannelSelectMenuCreator to construct the select menu

Parameters

customId

the custom id of the select menu

channelTypes

the type of the channels that can be selected