add chats deleted event data

This commit is contained in:
Ilya 2022-05-04 17:23:09 +03:00
parent 615d7b3e5e
commit 813da9a03d

View File

@ -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"`
}
)