From 0919ed1563bc2fb5a879bde6b45db8ef67bcff26 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Tue, 16 Apr 2019 17:58:16 +0300 Subject: [PATCH] Add chat to message struct --- v1/types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/v1/types.go b/v1/types.go index fb2ef8e..8a8629b 100644 --- a/v1/types.go +++ b/v1/types.go @@ -371,6 +371,7 @@ type ( IsRead bool `json:"is_read"` IsEdit bool `json:"is_edit"` Status string `json:"status"` + Chat *Chat `json:"chat"` From *UserRef `json:"from"` Product *MessageProduct `json:"product,omitempty"` Order *MessageOrder `json:"order,omitempty"`