1
0
mirror of synced 2024-11-22 04:56:06 +03:00

add element in WebhookData struct

This commit is contained in:
DmitryZagorulko 2018-07-13 14:23:46 +03:00
parent 86ea1ad66a
commit 6d0e4a26ff

View File

@ -105,12 +105,13 @@ type WebhookRequest struct {
// WebhookData request data // WebhookData request data
type WebhookData struct { type WebhookData struct {
ExternalUserID string `json:"external_user_id"` ExternalUserID string `json:"external_user_id"`
ExternalMessageID string `json:"external_message_id,omitempty"` ExternalMessageID string `json:"external_message_id,omitempty"`
ExternalChatID string `json:"external_chat_id"` ExternalChatID string `json:"external_chat_id"`
ChannelID uint64 `json:"channel_id"` ChannelID uint64 `json:"channel_id"`
Content string `json:"content"` Content string `json:"content"`
QuoteMessageExternalID string `json:"quote_message_external_id,omitempty"` QuoteExternalID string `json:"quote_external_id,omitempty"`
QuoteContent string `json:"quote_content,omitempty"`
} }
// TransportRequestMeta request metadata // TransportRequestMeta request metadata