MessageOptions
MessageOptions =
string|EmbedBuilder| {allowedMentions?:AllowedMentions;content?:string;embeds?: (EmbedBuilder|EmbedData)[];files?: (FileToSend|Blob)[];mentions?:MentionsInput;reply?:Message|string; }
Defined in: zaun/js/index.d.ts:557
Text, an embed, or a whole message. Content may be empty beside embeds or files; files and embed pictures are 10 at most in all.
Union Members
Section titled “Union Members”string
Type Literal
Section titled “Type Literal”{ allowedMentions?: AllowedMentions; content?: string; embeds?: (EmbedBuilder | EmbedData)[]; files?: (FileToSend | Blob)[]; mentions?: MentionsInput; reply?: Message | string; }
allowedMentions?
Section titled “allowedMentions?”
optionalallowedMentions?:AllowedMentions
other libraries’s: lets the mentions the content shows notify, all of a kind (parse) or
these ids only (users, roles).
content?
Section titled “content?”
optionalcontent?:string
embeds?
Section titled “embeds?”
optionalembeds?: (EmbedBuilder|EmbedData)[]
files?
Section titled “files?”
optionalfiles?: (FileToSend|Blob)[]
mentions?
Section titled “mentions?”
optionalmentions?:MentionsInput
Who it notifies (each once; ≤ 50 members, ≤ 20 roles). The content only shows
mentions (userMention, roleMention); nothing in it notifies on its own.
reply?
Section titled “reply?”
optionalreply?:Message|string