Skip to content

SendBodyResult

Package: @erinjs/core

API-ready body from MessageSendOptions or text content (serializes EmbedBuilder, includes attachments when files present).

Properties

NameTypeReadonlyOptionalDescription
attachments{ id: number; filename: string; title?: string | null; description?: string | null; flags?: number; }[]NoYes
contentstringNoYes
embedsAPIEmbed[]NoYes
flagsnumberNoYesMessage flags (e.g. SuppressNotifications for reply without ping).

Released under the Apache-2.0 License.