mirror of
https://github.com/retailcrm/api-client-go.git
synced 2025-04-02 20:56:17 +03:00
add mgTransport
callbacks
This commit is contained in:
parent
76135226fb
commit
b5e7c3ff33
1 changed files with 7 additions and 1 deletions
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…
Add table
Reference in a new issue