From 5deaaff05c2f787e6b15a73704a85a7e4a772391 Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Tue, 29 May 2018 13:50:55 +0300 Subject: [PATCH] fix for webhook struct --- v1/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/types.go b/v1/types.go index 57f7961..dbc6a8f 100644 --- a/v1/types.go +++ b/v1/types.go @@ -106,7 +106,7 @@ type WebhookData struct { ExternalUserID string `json:"external_user_id"` ExternalMessageID string `json:"external_message_id,omitempty"` ChannelID uint64 `json:"channel_id"` - ChatID int64 `json:"channel_id"` // TODO: add to webhook request + ChatID int64 `json:"chat_id"` // TODO: add to webhook request Content string `json:"content"` QuoteMessageExternalID string `json:"quote_message_external_id,omitempty"` }