interface APITextDisplayComponent

external
export interface APITextDisplayComponent extends APIBaseComponent<ComponentType.TextDisplay>

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.Text Displays are only available in messages.

See also: https://discord.com/developers/docs/components/reference#text-display

external
content : string

Text that will be displayed similar to a message