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

update fields for webhook

This commit is contained in:
Alex Lushpai 2018-05-29 15:21:39 +03:00
parent 0820026dc5
commit 2dbada55f6

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