From 813da9a03d9b386abf6e1b1fa9c4fe7985dec8a3 Mon Sep 17 00:00:00 2001 From: Ilya Date: Wed, 4 May 2022 17:23:09 +0300 Subject: [PATCH] add chats deleted event data --- v1/types.go | 5 +++++ 1 file changed, 5 insertions(+) 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"` + } )