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
6
types.go
6
types.go
@ -1255,6 +1255,12 @@ type Action struct {
|
||||
// MgTransport type.
|
||||
type MgTransport struct {
|
||||
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