button

fun button(style: ButtonStyle, idOrUrl: String, label: String? = null, emoji: Emoji? = null)

Add a new Button to this row.

Parameters

style

The button style

idOrUrl

Either the ID or URL for this button

label

The text to display on the button

emoji

The emoji to use as the button label