mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
More tests for defaults
This commit is contained in:
parent
ee71117807
commit
bc08d90ce5
3 changed files with 69 additions and 2 deletions
|
|
@ -286,7 +286,7 @@ class Bot:
|
|||
):
|
||||
warnings.warn(
|
||||
"Passing `parse_mode`, `disable_web_page_preview` or `protect_content` "
|
||||
"to Bot initializer is deprecated. This arguments will be removed in 3.5.0 version\n"
|
||||
"to Bot initializer is deprecated. This arguments will be removed in 3.7.0 version\n"
|
||||
"Use `default=DefaultBotProperties(...)` instead.",
|
||||
category=DeprecationWarning,
|
||||
stacklevel=2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue