Type alias EditMessageData

EditMessageData: {
    allowed_mentions?: AllowedMentions;
    attachments?: Omit<Attachment, "ephemeral" | "proxy_url" | "url" | "size">[];
    components?: ActionRow[];
    content?: string | null;
    embeds?: Embed[];
    files?: {
        file: Buffer;
        name: string;
    }[];
    flags?: number;
}

Type declaration

  • Optional allowed_mentions?: AllowedMentions

    Allowed mentions for the message

  • Optional attachments?: Omit<Attachment, "ephemeral" | "proxy_url" | "url" | "size">[]

    Attached files to remove or edit descriptions for

  • Optional components?: ActionRow[]

    Components to add to the message

  • Optional content?: string | null

    Content of the message

  • Optional embeds?: Embed[]

    Array of Embeds to send

  • Optional files?: {
        file: Buffer;
        name: string;
    }[]

    Files that should be updated

  • Optional flags?: number

    1 << 2 to set a message SUPPRESS_EMBEDS

Generated using TypeDoc