interactionButtonAccessory

inline fun AccessoryHolder.interactionButtonAccessory(style: ButtonStyle, customId: String, builder: ButtonBuilder.() -> Unit = {})(source)

Adds an interaction button as an accessory to this section. This is mutually exclusive with other accessory components.

Parameters

style

the style of this button, use linkButtonAccessory for ButtonStyle.Link.

customId

the ID of this button, used to identify component interactions.