1
0
mirror of synced 2024-11-25 06:26:03 +03:00

Merge pull request #6 from gwinn/master

update fields for webhook
This commit is contained in:
Alex Lushpai 2018-05-29 16:00:51 +03:00 committed by GitHub
commit f1e557f384
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"`
}