Merge pull request #29 from iyzoer/master

Add chat to message struct
This commit is contained in:
Alex Lushpai 2019-04-17 09:47:21 +03:00 committed by GitHub
commit 9b884699e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"`