Skip to content

TextDisplayComponent ​

classe · Source

Constructor ​

new TextDisplayComponent(data?: TextDisplayComponent | APITextDisplayComponent)

Parameters

NameTypeDescription
data?TextDisplayComponent | APITextDisplayComponentThe data Default: {}.

Properties ​

content ​

content: String

Text that will be displayed similar to a message Source

Methods ​

toJSON ​

toJSON(): APITextDisplayComponent
**Returns:** `APITextDisplayComponent` [Source](https://github.com/AltKit/discord/blob/selfbotjs/src/structures/TextDisplayComponent.js#L32)

Unofficial software. Not affiliated with or supported by Discord.