Add IsTechnicalAccount field to the UserRef struct

This commit is contained in:
Pavel 2022-08-18 17:26:29 +03:00 committed by GitHub
commit 9400a2b045
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {