Button

class Button

Represents an option to be shown on the client platform (Facebook, Slack, etc.)

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Text that is visible to the user on the button.

Link copied to clipboard

The value sent to Amazon Lex when a user chooses the button. For example, consider button text "NYC." When the user chooses the button, the value sent can be "New York City."

Functions

Link copied to clipboard
inline fun copy(block: Button.Builder.() -> Unit = {}): Button
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String