Package-level declarations

Types

Link copied to clipboard

A checkbox widget that supports multiple checkboxes.

Link copied to clipboard

A checkbox widget that supports a single checkbox.

Link copied to clipboard

A widget for uploading files to discord.

Link copied to clipboard

A text widget that supports a single line of text.

Link copied to clipboard

A text widget that supports multiple lines of text.

Link copied to clipboard

A widget for selecting exactly one option from a defined list.

Link copied to clipboard

An abstract type representing a widget that accepts text from the user.

Link copied to clipboard
abstract class Widget<T>

Abstract type representing a grid-based widget.

Properties

Link copied to clipboard
const val LABEL_LENGTH: Int = 45

The limit for the length of the widget's label.

Link copied to clipboard
const val MAX_LENGTH: Int = 4000

The max number of characters that can be present in the widget's input.

Link copied to clipboard
const val MAX_VALUES: Int = 10

The max number of values for the widget.

Link copied to clipboard
const val MIN_LENGTH: Int = 0

The min number of characters that can be present in the widget's input.

Link copied to clipboard
const val MIN_VALUES: Int = 0

The min number of values for the widget.

Link copied to clipboard

The maximum number of characters that can be present in the text widget's placeholder.