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:
Alex Root Junior 2024-05-27 14:58:39 +03:00 committed by GitHub
parent 895f4f8dce
commit b5d94f17b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 117 additions and 82 deletions

View file

@ -14,3 +14,4 @@ All methods and types is fully autogenerated from Telegram Bot API docs by parse
enums/index
download_file
upload_file
defaults