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

Merge pull request #12 from gwinn/master

json tag
This commit is contained in:
Alex Lushpai 2018-06-01 19:20:02 +03:00 committed by GitHub
commit 6ca25cdf74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,10 +71,10 @@ type UpdateMessage struct {
// SendData struct // SendData struct
type SendData struct { type SendData struct {
Message SendMessage `url:"message"` Message SendMessage `url:"message" json:"message"`
User User `url:"user"` User User `url:"user" json:"user"`
Channel uint64 `url:"channel"` Channel uint64 `url:"channel" json:"channel"`
ExternalChatID string `url:"external_chat_id"` ExternalChatID string `url:"external_chat_id" json:"external_chat_id"`
} }
// UpdateData struct // UpdateData struct