From 6d0e4a26ff4e416b4c82f760ee13bd7be4e1500f Mon Sep 17 00:00:00 2001 From: DmitryZagorulko Date: Fri, 13 Jul 2018 14:23:46 +0300 Subject: [PATCH] add element in WebhookData struct --- v1/types.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/v1/types.go b/v1/types.go index 5f57386..5da4c7d 100644 --- a/v1/types.go +++ b/v1/types.go @@ -105,12 +105,13 @@ type WebhookRequest struct { // WebhookData request data type WebhookData struct { - ExternalUserID string `json:"external_user_id"` - ExternalMessageID string `json:"external_message_id,omitempty"` - ExternalChatID string `json:"external_chat_id"` - ChannelID uint64 `json:"channel_id"` - Content string `json:"content"` - QuoteMessageExternalID string `json:"quote_message_external_id,omitempty"` + ExternalUserID string `json:"external_user_id"` + ExternalMessageID string `json:"external_message_id,omitempty"` + ExternalChatID string `json:"external_chat_id"` + ChannelID uint64 `json:"channel_id"` + Content string `json:"content"` + QuoteExternalID string `json:"quote_external_id,omitempty"` + QuoteContent string `json:"quote_content,omitempty"` } // TransportRequestMeta request metadata