commit
664f8b6f24
14
v1/types.go
14
v1/types.go
@ -74,6 +74,7 @@ type SendData struct {
|
||||
Message SendMessage `url:"message"`
|
||||
User User `url:"user"`
|
||||
Channel uint64 `url:"channel"`
|
||||
ExternalChatID string `url:"external_chat_id"`
|
||||
}
|
||||
|
||||
// UpdateData struct
|
||||
@ -116,16 +117,3 @@ type TransportRequestMeta struct {
|
||||
ID uint64 `json:"id"`
|
||||
Timestamp int64 `json:"timestamp"`
|
||||
}
|
||||
|
||||
// ActivityCallback activation callback
|
||||
type ActivityCallback struct {
|
||||
ClientId string `json:"clientId"`
|
||||
Activity Activity `json:"activity"`
|
||||
SystemUrl string `json:"systemUrl,omitempty"`
|
||||
}
|
||||
|
||||
// Activity struct
|
||||
type Activity struct {
|
||||
Active bool `json:"active"`
|
||||
Freeze bool `json:"freeze"`
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user