From 412fc067e6cd66494d76259aee3925f8dd18c222 Mon Sep 17 00:00:00 2001 From: Soumil07 Date: Fri, 26 Oct 2018 20:27:14 +0530 Subject: [PATCH] Add WebhookID member to message property (#607) * track membercount on memberAdd and leave * requested changes * add WebhookID member to message --- message.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/message.go b/message.go index 5edcb8f..2b60992 100644 --- a/message.go +++ b/message.go @@ -82,6 +82,9 @@ type Message struct { // The type of the message. Type MessageType `json:"type"` + + // The webhook ID of the message, if it was generated by a webhook + WebhookID string `json:"webhook_id"` } // File stores info about files you e.g. send in messages.