diff --git a/v1/types.go b/v1/types.go index e1f520c..7604f60 100644 --- a/v1/types.go +++ b/v1/types.go @@ -265,7 +265,9 @@ type ( CreatedAt string `json:"created_at"` UpdatedAt string `json:"updated_at,omitempty"` RevokedAt string `json:"revoked_at,omitempty"` + Available bool `json:"available"` IsOnline bool `json:"is_online"` + Connected bool `json:"connected"` IsActive bool `json:"is_active"` IsTechnicalAccount bool `json:"is_technical_account"` Avatar string `json:"avatar_url,omitempty"` @@ -736,8 +738,9 @@ type ( } WsEventUserOnlineUpdatedData struct { - User *UserRef `json:"user"` - Online bool `json:"online"` + User *UserRef `json:"user"` + Online bool `json:"online"` + Connected bool `json:"connected"` } WsEventChatsDeletedData struct {