section
inline fun section(accessory: SectionAccessoryComponent? = null, vararg components: SectionContentComponent, uniqueId: Int = -1, block: InlineSection.() -> Unit = {})(source)
inline fun section(accessory: SectionAccessoryComponent? = null, components: Collection<SectionContentComponent> = emptyList(), uniqueId: Int = -1, block: InlineSection.() -> Unit = {})(source)
See Section.
This requires Components V2 to be enabled.
Parameters
accessory
The accessory of this section
components
The components of this section
uniqueId
Unique identifier of this component
block
Lambda allowing further configuration