interface PartialWebhookFields {
    id: string;
    get url(): string;
    deleteMessage(
        message: APIMessage | MessageResolvable,
        threadId?: string,
    ): Promise<void>;
    editMessage(
        message: MessageResolvable,
        options: string | MessagePayload | WebhookMessageEditOptions,
    ): Promise<APIMessage | Message<boolean>>;
    fetchMessage(
        message: string,
        options?: WebhookFetchMessageOptions,
    ): Promise<APIMessage | Message<boolean>>;
    send(
        options:
            | string
            | MessagePayload
            | InteractionReplyOptions
            | WebhookMessageCreateOptions,
    ): Promise<APIMessage | Message<boolean>>;
}

Hierarchy (View Summary)

Properties

Accessors

Methods

Properties

id: string

Accessors

  • get url(): string

    Returns string

Methods