diff --git a/v1/types.go b/v1/types.go index 2daf9e5..b38e80a 100644 --- a/v1/types.go +++ b/v1/types.go @@ -41,6 +41,7 @@ const ( WsBotUpdated string = "bot_updated" WsEventChannelUpdated string = "channel_updated" WsEventSettingsUpdated string = "settings_updated" + WsEventChatsDeleted string = "chats_deleted" ChannelFeatureNone string = "none" ChannelFeatureReceive string = "receive" @@ -724,4 +725,8 @@ type ( User *UserRef `json:"user"` Online bool `json:"online"` } + + WsEventChatsDeletedData struct { + ChatIds []int64 `json:"chat_ids"` + } )