interface MessageCreateOptions {
    allowedMentions?: MessageMentionOptions;
    components?: readonly (
        | APIMessageTopLevelComponent
        | TopLevelComponentData
        | JSONEncodable<APIMessageTopLevelComponent>
        | ActionRowData<
            (MessageActionRowComponentBuilder | MessageActionRowComponentData),
        >
    )[];
    content?: string;
    embeds?: readonly (APIEmbed | JSONEncodable<APIEmbed>)[];
    enforceNonce?: boolean;
    files?: readonly (
        | Stream
        | Attachment
        | BufferResolvable
        | AttachmentBuilder
        | AttachmentPayload
        | JSONEncodable<APIAttachment>
    )[];
    flags?: BitFieldResolvable<
        "SuppressEmbeds"
        | "SuppressNotifications"
        | "IsComponentsV2",
        SuppressEmbeds | SuppressNotifications | IsComponentsV2,
    >;
    forward?: ForwardOptions;
    nonce?: string | number;
    poll?: PollData;
    reply?: ReplyOptions;
    stickers?: readonly StickerResolvable[];
    tts?: boolean;
}

Hierarchy (View Summary)

Properties

allowedMentions?: MessageMentionOptions
components?: readonly (
    | APIMessageTopLevelComponent
    | TopLevelComponentData
    | JSONEncodable<APIMessageTopLevelComponent>
    | ActionRowData<
        (MessageActionRowComponentBuilder | MessageActionRowComponentData),
    >
)[]
content?: string
embeds?: readonly (APIEmbed | JSONEncodable<APIEmbed>)[]
enforceNonce?: boolean
files?: readonly (
    | Stream
    | Attachment
    | BufferResolvable
    | AttachmentBuilder
    | AttachmentPayload
    | JSONEncodable<APIAttachment>
)[]
flags?: BitFieldResolvable<
    "SuppressEmbeds"
    | "SuppressNotifications"
    | "IsComponentsV2",
    SuppressEmbeds | SuppressNotifications | IsComponentsV2,
>
forward?: ForwardOptions
nonce?: string | number
poll?: PollData
reply?: ReplyOptions
stickers?: readonly StickerResolvable[]
tts?: boolean