Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard

A list of text displays in this section.

Functions

Link copied to clipboard
open override fun build(): DiscordComponent
Link copied to clipboard
inline fun AccessoryHolder.interactionButtonAccessory(style: ButtonStyle, customId: String, builder: ButtonBuilder.() -> Unit = {})

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

Link copied to clipboard
inline fun AccessoryHolder.linkButtonAccessory(url: String, builder: ButtonBuilder.() -> Unit = {})

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

Link copied to clipboard
inline fun textDisplay(builder: TextDisplayBuilder.() -> Unit)

Adds a text display as a component to this section.

fun textDisplay(content: String)
Link copied to clipboard
inline fun thumbnailAccessory(builder: ThumbnailBuilder.() -> Unit)

Adds a thumbnail as an accessory to this section. This is mutually exclusive with other accessory components.