1
0
mirror of synced 2024-11-21 20:46:05 +03:00

Merge pull request #14 from DmitryZagorulko/master

add element in WebhookData struct
This commit is contained in:
Alex Lushpai 2018-07-13 15:09:59 +03:00 committed by GitHub
commit 619f407935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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