mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2025-04-03 13:13:33 +03:00
Merge pull request #80 from opheugene/add_from_is_system
Added IsSystem flag to UserRef struct
This commit is contained in:
commit
f7e352a622
1 changed files with 2 additions and 0 deletions
|
@ -354,6 +354,7 @@ type (
|
|||
LastMessage Message `json:"last_message"`
|
||||
LastUserMessage MessageID `json:"last_user_message"`
|
||||
LastActivity string `json:"last_activity"`
|
||||
LastDialog Dialog `json:"last_dialog"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
UpdatedAt string `json:"updated_at"`
|
||||
}
|
||||
|
@ -605,6 +606,7 @@ type (
|
|||
IsAdmin bool `json:"is_admin"`
|
||||
Available bool `json:"available"`
|
||||
IsTechnicalAccount bool `json:"is_technical_account"`
|
||||
IsSystem bool `json:"is_system"`
|
||||
}
|
||||
|
||||
Channel struct {
|
||||
|
|
Loading…
Add table
Reference in a new issue