Interface

MessageSendOptions

Options for sending a message via channel/message helpers.

Properties

NameTypeDescription
allowedMentions?AllowedMentionsOptionsWho may be mentioned; see AllowedMentionsOptions.
attachments?MessageAttachmentMeta[]Attachment metadata aligned with uploaded files indices (or AttachmentMeta).
content?stringPlain text body.
embeds?(RESTPostAPIEmbed | EmbedBuilder)[]Embed payloads or EmbedBuilder instances.
favoriteMemeId?stringFavorite meme id when sending a saved meme.
files?Array<MessageFileData | AttachmentBuilder>Local files, remote URLs, or AttachmentBuilder instances.
flags?numberMessage flags bitfield.
forward?MessageReplyTargetForward an existing message into this channel.
nonce?stringClient-generated nonce for deduplication.
ping?booleanShortcut for reply pings. false sets allowedMentions.repliedUser to false. Prefer explicit AllowedMentionsOptions when you need full control.
replyTo?MessageReplyTargetReply to an existing message (sets message_reference).
stickerIds?string[]Sticker snowflakes to attach.
tts?booleanText-to-speech flag.
uploadedAttachments?RESTPostAPIMessageUploadedAttachment[]Already-uploaded CDN attachments (skip multipart).