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

    Interface RESTPatchAPIChannelMessageJSONBody

    interface RESTPatchAPIChannelMessageJSONBody {
        allowed_mentions?: null | APIAllowedMentions;
        attachments?: RESTAPIAttachment[];
        components?: null | APIMessageTopLevelComponent[];
        content?: null | string;
        embeds?: null | APIEmbed[];
        flags?: null | MessageFlags;
    }
    Index

    Properties

    allowed_mentions?: null | APIAllowedMentions

    Allowed mentions for the message

    attachments?: RESTAPIAttachment[]

    Attached files to keep

    Starting with API v10, the attachments array must contain all attachments that should be present after edit, including retained and new attachments provided in the request body.

    components?: null | APIMessageTopLevelComponent[]

    The components to include with the message

    content?: null | string

    The new message contents (up to 2000 characters)

    embeds?: null | APIEmbed[]

    Embedded rich content (up to 6000 characters)

    flags?: null | MessageFlags

    Edit the flags of a message (only SUPPRESS_EMBEDS can currently be set/unset)

    When specifying flags, ensure to include all previously set flags/bits in addition to ones that you are modifying