1
0
mirror of synced 2024-11-21 20:46:05 +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
type SendData struct {
Message SendMessage `url:"message"`
User User `url:"user"`
Channel uint64 `url:"channel"`
ExternalChatID string `url:"external_chat_id"`
Message SendMessage `url:"message" json:"message"`
User User `url:"user" json:"user"`
Channel uint64 `url:"channel" json:"channel"`
ExternalChatID string `url:"external_chat_id" json:"external_chat_id"`
}
// UpdateData struct