Skip to content

v3.0: Meet aiogram 3.x

Compare
Choose a tag to compare
@MasterGroosha MasterGroosha released this 16 Dec 19:40

The biggest change is that bot is re-written from aiogram 2.x to aiogram 3.x (currently in beta). This is an important change which allows to implement many cool features in the future!

Also in this release:

  • Reduced the number of get_chat_member() calls to zero due to new admins caching mechanism. Bot also listens for chat_member updates so new admins will be added or removed instantly without any downtime.
  • Added the ability to send report messages to PMs (private messages) with admins. Only admins with "delete" and "ban" permissions will get such messages. Of course, an admin must have an active chat with the bot.
  • "User joined" messages can now be kept, in case you need it 🤷‍♂️
  • Added the ability to automatically ban any channels writing to your group (see this Telegram post for details).
  • You can also cast /ro or /nm command on channels, which will result in their ban (there's no read-only mode for channels currently).
  • Improved /-commands visibility in bot's UI.
  • Lots of other small improvements as I become more skilled Python developer :)