ConversationButton

class ConversationButton<T>(    val id: String,     val label: String?,     val emoji: ReactionEmoji?,     val value: T,     val style: ButtonStyle)

A simple button builder

Parameters

id

The UUID of the component

label

The Button text

emoji

The Button emoji

value

The value returned when this button is pressed

style

The Button style

Constructors

Link copied to clipboard
fun <T> ConversationButton(    id: String,     label: String?,     emoji: ReactionEmoji?,     value: T,     style: ButtonStyle)

Properties

Link copied to clipboard
val emoji: ReactionEmoji?
Link copied to clipboard
val id: String
Link copied to clipboard
val label: String?
Link copied to clipboard
val style: ButtonStyle
Link copied to clipboard
val value: T