Text

constructor(builder: ComponentBuilder<*, *>)

Creates a message component with the given text.

Parameters

builder

The component builder.


constructor(component: Component)
constructor(text: String)