ChoiceCallback

A callback for collecting a choice from a user.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The list of choices.

Link copied to clipboard

The default choice index.

Link copied to clipboard

The prompt message.

Link copied to clipboard

The index of the selected choice.

Functions

Link copied to clipboard
protected open override fun init(name: String, value: JsonElement)
Link copied to clipboard
open override fun payload(): JsonObject