SelectOptionBuilder

class SelectOptionBuilder(var label: String, var value: String)(source)

A builder for a Discord Select Option.

Parameters

label

The user-facing name of the option, max 100 characters.

value

The dev-defined value of the option, max 100 characters.

Constructors

Link copied to clipboard
constructor(label: String, value: String)

Properties

Link copied to clipboard

Whether this option should be rendered as the default.

Link copied to clipboard

An additional description of the option, max 100 characters.

Link copied to clipboard

An emoji to display in the option.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard