Text

abstract class Text : PluginElement

Regular text component. Contextually can be of a different form, such as html or markdown. It's up to the integrator to format or strip the text's format if they do not wish to use formatted text.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val format: TextFormat

Embedded formatting to be applied to the text.

Link copied to clipboard
abstract val isHtml: Boolean

Determines whether is this text html formatted.

Link copied to clipboard
abstract val isMarkdown: Boolean

Determines whether is this text markdown formatted.

Link copied to clipboard
abstract val text: String

Text with formatting. The embedded formatting is determined by format.