Type alias WebhookEditMessageData

WebhookEditMessageData: {
    allowed_mentions?: AllowedMentions | null;
    attachments?: Partial<Attachment>[];
    components?: ActionRow[];
    content?: string | null;
    embeds?: Embed[] | null;
    files?: {
        file: Buffer;
        name: string;
    }[];
    thread_id?: string;
}

Type declaration

  • Optional allowed_mentions?: AllowedMentions | null
  • Optional attachments?: Partial<Attachment>[]

    attached files to keep and possible descriptions for new files

  • Optional components?: ActionRow[]

    Components to add to the message

  • Optional content?: string | null

    content of the message

  • Optional embeds?: Embed[] | null

    Array of embed objects

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

    Files that should be updated

  • Optional thread_id?: string

    The thread id this message was in

Generated using TypeDoc