diff --git a/v1/types.go b/v1/types.go index def29e1..fb2ef8e 100644 --- a/v1/types.go +++ b/v1/types.go @@ -627,7 +627,7 @@ type ( } WsEventUserOnlineUpdatedData struct { - User *UserRef - Online bool + User *UserRef `json:"user"` + Online bool `json:"online"` } )