From 0dbc0d17a7d6eba46100d39a62c6a46c5a132176 Mon Sep 17 00:00:00 2001 From: Qais Patankar Date: Sun, 15 Nov 2020 19:40:37 +0000 Subject: [PATCH] Add ApplicationID to Webhook --- structs.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/structs.go b/structs.go index 02ad551..91b5002 100644 --- a/structs.go +++ b/structs.go @@ -1064,6 +1064,9 @@ type Webhook struct { Name string `json:"name"` Avatar string `json:"avatar"` Token string `json:"token"` + + // ApplicationID is the bot/OAuth2 application that created this webhook + ApplicationID string `json:"application_id,omitempty"` } // WebhookType is the type of Webhook (see WebhookType* consts) in the Webhook struct