Feature/aliases inaccessible message (#1575)

* feature: add aliases for InaccessibleMessage type

* add changelog

* fix changelog

* remove methods that may not be accessible for the InaccessibleMessage type, add tests

* apply black isort

* update docs with InaccessibleMessage aliases
This commit is contained in:
Kostiantyn Kriuchkov 2024-09-08 14:00:07 +03:00 committed by GitHub
parent e8fc890809
commit 386fc44a98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 3247 additions and 36 deletions

View file

@ -48,8 +48,10 @@ As reply into Webhook in handler
As shortcut from received object
--------------------------------
- :meth:`aiogram.types.message.Message.answer_poll`
- :meth:`aiogram.types.message.Message.reply_poll`
- :meth:`aiogram.types.chat_join_request.ChatJoinRequest.answer_poll`
- :meth:`aiogram.types.chat_join_request.ChatJoinRequest.answer_poll_pm`
- :meth:`aiogram.types.chat_member_updated.ChatMemberUpdated.answer_poll`
- :meth:`aiogram.types.inaccessible_message.InaccessibleMessage.answer_poll`
- :meth:`aiogram.types.inaccessible_message.InaccessibleMessage.reply_poll`
- :meth:`aiogram.types.message.Message.answer_poll`
- :meth:`aiogram.types.message.Message.reply_poll`