Сhats deleted event data

This commit is contained in:
Alex Lushpai 2022-05-13 13:30:03 +03:00 committed by GitHub
commit 28241f8a8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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