Hierarchy

  • Webhook

Constructors

Properties

defaultPayload?: {}

Type declaration

    Methods

    • Delete the webhook

      Returns Promise<any>

    • Get webhook information

      Returns

      Returns Promise<APIWebhook>

    • Private

      Make a request to the webhook

      Returns

      Type Parameters

      • T = any

      Parameters

      Returns Promise<T>

    • Set the default avatar for the webhook

      Parameters

      • avatar: string

      Returns void

    • Set the default username for the webhook

      Parameters

      • username: string

      Returns void

    Generated using TypeDoc