Interface EditWebhookOptions

interface EditWebhookOptions {
    avatar?: null | string | Buffer;
    channelID?: string;
    name?: string;
    reason?: string;
}

Hierarchy (view full)

Properties

avatar?: null | string | Buffer

The new avatar (buffer, or full data url). null to reset.

channelID?: string

The id of the channel to move this webhook to.

name?: string

The name of the webhook.

reason?: string

The reason for editing this webhook.