Interface ChannelSelectMenuComponentData<Module>

interface ChannelSelectMenuComponentData<Module> {
    channelTypes?: readonly ChannelType[];
    customId: string;
    defaultValues?: readonly APISelectMenuDefaultValue<Channel>[];
    disabled?: boolean;
    execute: ChannelSelectMenuInteractionExecute<Module>;
    maxValues?: number;
    minValues?: number;
    placeholder?: string;
    type: ChannelSelect;
}

Type Parameters

Hierarchy

  • Omit<OriginChannelSelectMenuComponentData, "type" | "customId">
    • ChannelSelectMenuComponentData

Properties

channelTypes?: readonly ChannelType[]
customId: string
defaultValues?: readonly APISelectMenuDefaultValue<Channel>[]
disabled?: boolean
execute: ChannelSelectMenuInteractionExecute<Module>
maxValues?: number
minValues?: number
placeholder?: string