components
suspend fun MessageBuilder.components(timeout: Duration? = null, builder: suspend ComponentContainer.() -> Unit): ComponentContainer
Convenience function for creating a ComponentContainer and components, and applying it to a message you're creating. Supply a timeout and the components you add will be removed from the registry after the given period of inactivity.