ChatReply
Represents a reply generated by the chat engine, including optional Discord payloads.
| Property | Type | Description |
|---|
components? | readonly ( | APIMessageTopLevelComponent | JSONEncodable<APIMessageTopLevelComponent> | TopLevelComponentData | ActionRowData<MessageActionRowComponentData | MessageActionRowComponentBuilder>)[] | Discord UI components (buttons, selects, etc.). |
embeds? | readonly (APIEmbed | JSONEncodable<APIEmbed>)[] | Embed payloads returned with the reply. |
files? | readonly ( | BufferResolvable | Stream | JSONEncodable<APIAttachment> | Attachment | AttachmentBuilder | AttachmentPayload)[] | File attachments included with the reply. |
flags? | BitFieldResolvable< | "SuppressEmbeds" | "Ephemeral" | "SuppressNotifications" | "IsComponentsV2", SuppressEmbeds | Ephemeral | SuppressNotifications | IsComponentsV2> | Message flags to apply to the reply. |
text? | string | Plain text content for the reply. |