Add chat to message struct

This commit is contained in:
Akolzin Dmitry 2019-04-16 17:58:16 +03:00
parent 6208a2008f
commit 0919ed1563

View File

@ -371,6 +371,7 @@ type (
IsRead bool `json:"is_read"` IsRead bool `json:"is_read"`
IsEdit bool `json:"is_edit"` IsEdit bool `json:"is_edit"`
Status string `json:"status"` Status string `json:"status"`
Chat *Chat `json:"chat"`
From *UserRef `json:"from"` From *UserRef `json:"from"`
Product *MessageProduct `json:"product,omitempty"` Product *MessageProduct `json:"product,omitempty"`
Order *MessageOrder `json:"order,omitempty"` Order *MessageOrder `json:"order,omitempty"`