mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-06 16:15:51 +00:00
Removed deprecated arguments from Bot class (#1494)
* Remove deprecated attributes from Bot class The deprecated attributes `parse_mode`, `disable_web_page_preview`, and `protect_content` have been removed from the Bot class. Additionally, the associated warnings and test cases have been deleted. These attributes should now be passed using the `default=DefaultBotProperties(...)` syntax instead. * Added docs and changelog
This commit is contained in:
parent
895f4f8dce
commit
b5d94f17b5
5 changed files with 117 additions and 82 deletions
2
CHANGES/1494.removal.rst
Normal file
2
CHANGES/1494.removal.rst
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
Removed deprecated arguments from Bot class
|
||||
:code:`parse_mode`, :code:`disable_web_page_preview`, :code:`protect_content` as previously announced in v3.4.0.
|
||||
Loading…
Add table
Add a link
Reference in a new issue