Class Webhook

Hierarchy

  • Webhook

Constructors

Properties

Methods

Constructors

  • Parameters

    • url: string
    • Optional user: {
          avatar_url: string;
          username: string;
      }
      • avatar_url: string
      • username: string

    Returns Webhook

Properties

url: string
user?: {
    avatar_url: string;
    username: string;
}

Type declaration

  • avatar_url: string
  • username: string

Methods

  • Returns Promise<boolean>

  • Returns Promise<WebhookInfo>

  • Parameters

    • properties: WebhookProperties

    Returns Promise<boolean>

  • Parameters

    • properties: WebhookInfoData

    Returns Promise<boolean>

Generated using TypeDoc