Interface
MessageSendOptions
Options for sending a message via channel/message helpers.
Properties
| Name | Type | Description |
|---|---|---|
| allowedMentions? | AllowedMentionsOptions | Who may be mentioned; see AllowedMentionsOptions. |
| attachments? | MessageAttachmentMeta[] | Attachment metadata aligned with uploaded files indices (or AttachmentMeta). |
| content? | string | Plain text body. |
| embeds? | (RESTPostAPIEmbed | EmbedBuilder)[] | Embed payloads or EmbedBuilder instances. |
| favoriteMemeId? | string | Favorite meme id when sending a saved meme. |
| files? | Array<MessageFileData | AttachmentBuilder> | Local files, remote URLs, or AttachmentBuilder instances. |
| flags? | number | Message flags bitfield. |
| forward? | MessageReplyTarget | Forward an existing message into this channel. |
| nonce? | string | Client-generated nonce for deduplication. |
| ping? | boolean | Shortcut for reply pings. false sets allowedMentions.repliedUser to false. Prefer explicit AllowedMentionsOptions when you need full control. |
| replyTo? | MessageReplyTarget | Reply to an existing message (sets message_reference). |
| stickerIds? | string[] | Sticker snowflakes to attach. |
| tts? | boolean | Text-to-speech flag. |
| uploadedAttachments? | RESTPostAPIMessageUploadedAttachment[] | Already-uploaded CDN attachments (skip multipart). |