From b5e7c3ff339c6263af82261d37a402fdd04f0a4b Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Wed, 20 Dec 2023 11:41:14 +0300 Subject: [PATCH] add `mgTransport` callbacks --- types.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/types.go b/types.go index bb51ef2..7640199 100644 --- a/types.go +++ b/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.