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"`