1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-12-04 05:16:15 +00:00

Support for "migrated to supergroup" events

This commit is contained in:
madhead
2021-12-20 23:10:41 +01:00
parent 22eac5414c
commit aa1e7eea1d
7 changed files with 84 additions and 6 deletions

View File

@@ -1,6 +1,9 @@
# TelegramBotAPI changelog
## 0.37.4
* `Core`:
* New `SupergroupEvent` subtype: `MigratedToSupergroup`. This event is sent when a group is converted to a supergroup while bot is in the group.
* Helper extenstion functions on `ChatEvent` to cast it to `MigratedToSupergroup`.
## 0.37.3 Hotfix of 0.37.3