Section

inline fun Section(accessory: SectionAccessoryComponent? = null, uniqueId: Int = -1, block: InlineSection.() -> Unit): Section(source)

See Section.

This requires Components V2 to be enabled.

Parameters

accessory

The accessory of this section

uniqueId

Unique identifier of this component

block

Lambda allowing further configuration

See also