mirror of
https://github.com/retailcrm/mg-bot-api-client-go.git
synced 2024-11-27 23:36:02 +03:00
add chats deleted event data
This commit is contained in:
parent
615d7b3e5e
commit
813da9a03d
@ -41,6 +41,7 @@ const (
|
|||||||
WsBotUpdated string = "bot_updated"
|
WsBotUpdated string = "bot_updated"
|
||||||
WsEventChannelUpdated string = "channel_updated"
|
WsEventChannelUpdated string = "channel_updated"
|
||||||
WsEventSettingsUpdated string = "settings_updated"
|
WsEventSettingsUpdated string = "settings_updated"
|
||||||
|
WsEventChatsDeleted string = "chats_deleted"
|
||||||
|
|
||||||
ChannelFeatureNone string = "none"
|
ChannelFeatureNone string = "none"
|
||||||
ChannelFeatureReceive string = "receive"
|
ChannelFeatureReceive string = "receive"
|
||||||
@ -724,4 +725,8 @@ type (
|
|||||||
User *UserRef `json:"user"`
|
User *UserRef `json:"user"`
|
||||||
Online bool `json:"online"`
|
Online bool `json:"online"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
WsEventChatsDeletedData struct {
|
||||||
|
ChatIds []int64 `json:"chat_ids"`
|
||||||
|
}
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user