From ac9f0acd3e39e31999d70cba4a46217e6f48e28f Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Wed, 3 Oct 2018 11:30:52 +0300 Subject: [PATCH] bot/customer update events --- v1/types.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/v1/types.go b/v1/types.go index c795922..2bed805 100644 --- a/v1/types.go +++ b/v1/types.go @@ -34,6 +34,8 @@ const ( WsEventUserJoined string = "user_joined_chat" WsEventUserLeave string = "user_left_chat" WsEventUserUpdated string = "user_updated" + WsCustomerUpdated string = "customer_updated" + WsBotUpdated string = "bot_updated" ChannelFeatureNone string = "none" ChannelFeatureReceive string = "receive" @@ -564,6 +566,14 @@ type ( *UserRef } + WsEventCustomerUpdatedData struct { + *UserRef + } + + WsEventBotUpdatedData struct { + *UserRef + } + WsEventDialogAssignData struct { Dialog *Dialog `json:"dialog"` Chat *Chat `json:"chat"`