secondary

@CheckReturnValue
fun secondary(label: String): ButtonFactory(source)

Creates a secondary button factory with the provided label.

You can use ButtonFactory.persistent or ButtonFactory.ephemeral to then start building a button.

See also

Throws

If the label is empty


@CheckReturnValue
fun secondary(emoji: Emoji): ButtonFactory(source)

Creates a secondary button factory with the provided emoji.

You can use ButtonFactory.persistent or ButtonFactory.ephemeral to then start building a button.

See also


@CheckReturnValue
fun secondary(label: String?, emoji: Emoji?): ButtonFactory(source)

Creates a secondary button factory with the provided emoji.

You can use ButtonFactory.persistent or ButtonFactory.ephemeral to then start building a button.

See also

Throws

If the label is empty