Interface CreateWebhookOptions

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

Properties

Properties

avatar?: null | string | Buffer

The avatar (buffer, or full data url).

name: string

The name of the webhook.

reason?: string

The reason for creating this webhook.