mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2024-11-22 04:46:05 +03:00
Add IsTechnicalAccount
field to the UserRef
struct
This commit is contained in:
commit
9400a2b045
23
v1/types.go
23
v1/types.go
@ -512,17 +512,18 @@ type (
|
|||||||
}
|
}
|
||||||
|
|
||||||
UserRef struct {
|
UserRef struct {
|
||||||
ID uint64 `json:"id"`
|
ID uint64 `json:"id"`
|
||||||
ExternalID string `json:"external_id"`
|
ExternalID string `json:"external_id"`
|
||||||
Avatar string `json:"avatar"`
|
Avatar string `json:"avatar"`
|
||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
FirstName string `json:"first_name,omitempty"`
|
FirstName string `json:"first_name,omitempty"`
|
||||||
LastName string `json:"last_name,omitempty"`
|
LastName string `json:"last_name,omitempty"`
|
||||||
Phone string `json:"phone,omitempty"`
|
Phone string `json:"phone,omitempty"`
|
||||||
Email string `json:"email,omitempty"`
|
Email string `json:"email,omitempty"`
|
||||||
IsAdmin bool `json:"is_admin"`
|
IsAdmin bool `json:"is_admin"`
|
||||||
Available bool `json:"available"`
|
Available bool `json:"available"`
|
||||||
|
IsTechnicalAccount bool `json:"is_technical_account"`
|
||||||
}
|
}
|
||||||
|
|
||||||
Channel struct {
|
Channel struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user