commit
1f73c0bf53
14
v1/types.go
14
v1/types.go
@ -111,7 +111,21 @@ type WebhookData struct {
|
|||||||
QuoteMessageExternalID string `json:"quote_message_external_id,omitempty"`
|
QuoteMessageExternalID string `json:"quote_message_external_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TransportRequestMeta request metadata
|
||||||
type TransportRequestMeta struct {
|
type TransportRequestMeta struct {
|
||||||
ID uint64 `json:"id"`
|
ID uint64 `json:"id"`
|
||||||
Timestamp int64 `json:"timestamp"`
|
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