class SelectMenuOptionBuilder

export declare class SelectMenuOptionBuilder implements JSONEncodable<APISelectMenuOption>

Represents a option within a select menu component

Constructors

constructor()

Constructs a new instance of the SelectMenuOptionBuilder class

setDefault(
isDefault?: boolean
) : this

Sets whether this option is selected by default

setDescription(
description: string
) : this

Sets the description of this option

setEmoji() : this

Sets the emoji to display on this option

setLabel(
label: string
) : this

Sets the label of this option

setValue(
value: string
) : this

Sets the value of this option

Serializes this component to an API-compatible JSON object