TextDisplayComponent

A Text Display is a top-level content component that allows you to add text to your message formatted with markdown and mention users and roles. This is similar to the content field of a message, but allows you to add multiple text components, controlling the layout of your message.

Constructors

Link copied to clipboard
constructor(data: ChatComponentData)

Properties

Link copied to clipboard

Text that will be displayed similar to a message (supports Markdown)

Link copied to clipboard
open override val data: ChatComponentData
Link copied to clipboard
open override val type: ComponentType

The type of component.