add mgTransport callbacks

This commit is contained in:
Pavel 2023-12-20 11:41:14 +03:00
parent 76135226fb
commit b5e7c3ff33

View File

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