mirror of
https://github.com/retailcrm/api-client-go.git
synced 2024-11-24 05:46:05 +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