mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2024-11-21 20:36:05 +03:00
Add UsersResponseItem
field to the Available
struct
This commit is contained in:
parent
77f3af2445
commit
f3ea711138
@ -264,7 +264,9 @@ type (
|
|||||||
CreatedAt string `json:"created_at"`
|
CreatedAt string `json:"created_at"`
|
||||||
UpdatedAt string `json:"updated_at,omitempty"`
|
UpdatedAt string `json:"updated_at,omitempty"`
|
||||||
RevokedAt string `json:"revoked_at,omitempty"`
|
RevokedAt string `json:"revoked_at,omitempty"`
|
||||||
|
Available bool `json:"available"`
|
||||||
IsOnline bool `json:"is_online"`
|
IsOnline bool `json:"is_online"`
|
||||||
|
Connected bool `json:"connected"`
|
||||||
IsActive bool `json:"is_active"`
|
IsActive bool `json:"is_active"`
|
||||||
IsTechnicalAccount bool `json:"is_technical_account"`
|
IsTechnicalAccount bool `json:"is_technical_account"`
|
||||||
Avatar string `json:"avatar_url,omitempty"`
|
Avatar string `json:"avatar_url,omitempty"`
|
||||||
@ -728,6 +730,7 @@ type (
|
|||||||
WsEventUserOnlineUpdatedData struct {
|
WsEventUserOnlineUpdatedData struct {
|
||||||
User *UserRef `json:"user"`
|
User *UserRef `json:"user"`
|
||||||
Online bool `json:"online"`
|
Online bool `json:"online"`
|
||||||
|
Connected bool `json:"connected"`
|
||||||
}
|
}
|
||||||
|
|
||||||
WsEventChatsDeletedData struct {
|
WsEventChatsDeletedData struct {
|
||||||
|
Loading…
Reference in New Issue
Block a user