From 607dc2a41dcf1044b238ae03b9f36c8612bc4843 Mon Sep 17 00:00:00 2001 From: addfs Date: Tue, 23 Jul 2024 16:20:47 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BA?= =?UTF-8?q?=D0=B0=20=D1=81=D0=BE=D0=BE=D0=B1=D1=89=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?=20=D1=81=20=D1=82=D0=B8=D0=BF=D0=B0=D0=BC=D0=B8=20product,=20o?= =?UTF-8?q?rder?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- v1/types.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/v1/types.go b/v1/types.go index caaf0db..b2b4cc8 100644 --- a/v1/types.go +++ b/v1/types.go @@ -306,12 +306,14 @@ type Utm struct { // Message struct. type Message struct { - ExternalID string `json:"external_id"` - Type string `json:"type,omitempty"` - Text string `json:"text,omitempty"` - Note string `json:"note,omitempty"` - Items []Item `json:"items,omitempty"` - PageLink string `json:"page_link,omitempty"` + ExternalID string `json:"external_id"` + Type string `json:"type,omitempty"` + Text string `json:"text,omitempty"` + Note string `json:"note,omitempty"` + Items []Item `json:"items,omitempty"` + PageLink string `json:"page_link,omitempty"` + Product *MessageDataProduct `json:"product,omitempty"` + Order *Order `json:"order,omitempty"` } // SendMessage struct.