Add external id to user ref

This commit is contained in:
Pavel 2022-07-21 10:10:01 +03:00 committed by GitHub
commit ca3de000b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -511,16 +511,17 @@ type (
}
UserRef struct {
ID uint64 `json:"id"`
Avatar string `json:"avatar"`
Type string `json:"type"`
Name string `json:"name"`
FirstName string `json:"first_name,omitempty"`
LastName string `json:"last_name,omitempty"`
Phone string `json:"phone,omitempty"`
Email string `json:"email,omitempty"`
IsAdmin bool `json:"is_admin"`
Available bool `json:"available"`
ID uint64 `json:"id"`
ExternalID uint64 `json:"external_id"`
Avatar string `json:"avatar"`
Type string `json:"type"`
Name string `json:"name"`
FirstName string `json:"first_name,omitempty"`
LastName string `json:"last_name,omitempty"`
Phone string `json:"phone,omitempty"`
Email string `json:"email,omitempty"`
IsAdmin bool `json:"is_admin"`
Available bool `json:"available"`
}
Channel struct {