Skip to content

Commit

Permalink
Add UsersResponseItem field to the Available struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Neur0toxine authored Dec 29, 2022
2 parents 582acf2 + f3ea711 commit 21e9551
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit 21e9551

Please sign in to comment.