Container

inline fun Container(uniqueId: Int = -1, accentColor: Int? = null, spoiler: Boolean = false, block: InlineContainer.() -> Unit): Container(source)

See Container.

This requires Components V2 to be enabled.

Parameters

uniqueId

Unique identifier of this component

accentColor

Color of the container's left side, you can use rgb, hsb or hex for it

spoiler

Hides the file until the user clicks on it

block

Lambda allowing further configuration

See also