Discord.https - v3.0.16
    Preparing search index...

    Interface RESTPostAPIChannelMessageJSONBody

    interface RESTPostAPIChannelMessageJSONBody {
        allowed_mentions?: APIAllowedMentions;
        attachments?: RESTAPIAttachment[];
        components?: APIMessageTopLevelComponent[];
        content?: string;
        embeds?: APIEmbed[];
        enforce_nonce?: boolean;
        flags?: MessageFlags;
        message_reference?: RESTAPIMessageReference;
        nonce?: string | number;
        poll?: RESTAPIPoll;
        sticker_ids?: [string, string] | [string] | [string, string, string];
        tts?: boolean;
    }
    Index

    Properties

    allowed_mentions?: APIAllowedMentions

    Allowed mentions for a message

    attachments?: RESTAPIAttachment[]

    Attachment objects with filename and description

    The components to include with the message

    content?: string

    The message contents (up to 2000 characters)

    embeds?: APIEmbed[]

    Embedded rich content (up to 6000 characters)

    enforce_nonce?: boolean

    If true and nonce is present, it will be checked for uniqueness in the past few minutes. If another message was created by the same author with the same nonce, that message will be returned and no new message will be created.

    flags?: MessageFlags

    Message flags combined as a bitfield

    message_reference?: RESTAPIMessageReference

    Include to make your message a reply or a forward

    nonce?: string | number

    A nonce that can be used for optimistic message sending

    A poll!

    sticker_ids?: [string, string] | [string] | [string, string, string]

    IDs of up to 3 stickers in the server to send in the message

    tts?: boolean

    true if this is a TTS message