mirror of
https://github.com/retailcrm/api-client-go.git
synced 2024-12-18 01:18:44 +03:00
add mgTransport
callbacks
This commit is contained in:
parent
76135226fb
commit
b5e7c3ff33
8
types.go
8
types.go
@ -1254,7 +1254,13 @@ type Action struct {
|
||||
|
||||
// MgTransport type.
|
||||
type MgTransport struct {
|
||||
WebhookURL string `json:"webhookUrl,omitempty"`
|
||||
WebhookURL string `json:"webhookUrl,omitempty"`
|
||||
Actions *MgTransportActions `json:"actions,omitempty"`
|
||||
}
|
||||
|
||||
type MgTransportActions struct {
|
||||
Visits string `json:"visits,omitempty"`
|
||||
Online string `json:"online,omitempty"`
|
||||
}
|
||||
|
||||
// MgBot type.
|
||||
|
Loading…
Reference in New Issue
Block a user