mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2025-03-29 11:09:52 +03:00
Add chat to message struct
This commit is contained in:
parent
6208a2008f
commit
0919ed1563
1 changed files with 1 additions and 0 deletions
|
@ -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"`
|
||||||
|
|
Loading…
Add table
Reference in a new issue