APITextDisplayComponent

https://discord.com/developers/docs/components/reference#text-display 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.

Signature

export interface APITextDisplayComponent extends APIBaseComponent<ComponentType.TextDisplay>

Properties

2

Methods

0

No methods.

Properties

id?: number;

Optional identifier for component

content: string;

Text that will be displayed similar to a message