mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2025-03-30 11:30:12 +03:00
bot/customer update events
This commit is contained in:
parent
cc25100cd7
commit
ac9f0acd3e
1 changed files with 10 additions and 0 deletions
10
v1/types.go
10
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"`
|
||||
|
|
Loading…
Add table
Reference in a new issue