From 202db8370fc4a055379c19080b78d070b33d6947 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Fri, 1 Mar 2019 15:18:43 +0300 Subject: [PATCH] fix WsEventUserOnlineUpdatedData struct --- v1/types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"` } )