container
inline fun container(vararg components: ContainerChildComponent, uniqueId: Int = -1, accentColor: Int? = null, spoiler: Boolean = false, block: InlineContainer.() -> Unit = {})(source)
inline fun container(components: Collection<ContainerChildComponent> = emptyList(), uniqueId: Int = -1, accentColor: Int? = null, spoiler: Boolean = false, block: InlineContainer.() -> Unit = {})(source)
See Container.
This requires Components V2 to be enabled.
Parameters
components
The components of this container
uniqueId
Unique identifier of this component
spoiler
Hides the file until the user clicks on it
block
Lambda allowing further configuration