button

fun button(    label: String?,     emoji: DiscordEmoji?,     value: T,     style: ButtonStyle = ButtonStyle.Secondary)

A Discord button component. Exposes the menu for navigation functions.

Parameters

label

The Button text

emoji

The Button emoji

value

The value returned when this button is pressed

style

The Button style