json tag
This commit is contained in:
parent
3e16fd4ef2
commit
c53db59f44
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user