From 2dbada55f6f7b7be1be627a034b63e04ea49ea76 Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Tue, 29 May 2018 15:21:39 +0300 Subject: [PATCH] update fields for webhook --- v1/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/types.go b/v1/types.go index dbc6a8f..096dd87 100644 --- a/v1/types.go +++ b/v1/types.go @@ -105,8 +105,8 @@ type WebhookRequest struct { type WebhookData struct { ExternalUserID string `json:"external_user_id"` ExternalMessageID string `json:"external_message_id,omitempty"` + ExternalChatID int64 `json:"external_chat_id"` ChannelID uint64 `json:"channel_id"` - ChatID int64 `json:"chat_id"` // TODO: add to webhook request Content string `json:"content"` QuoteMessageExternalID string `json:"quote_message_external_id,omitempty"` }