diff --git a/CHANGES/1616.bugfix.rst b/CHANGES/1616.bugfix.rst new file mode 100644 index 00000000..3798d5da --- /dev/null +++ b/CHANGES/1616.bugfix.rst @@ -0,0 +1 @@ +Corrected the exception text of `aiogram.methods.base.TelegramMethod.__await__` method. diff --git a/aiogram/methods/base.py b/aiogram/methods/base.py index b2d35bec..3279199a 100644 --- a/aiogram/methods/base.py +++ b/aiogram/methods/base.py @@ -90,6 +90,6 @@ class TelegramMethod(BotContextController, BaseModel, Generic[TelegramType], ABC "This method is not mounted to a any bot instance, please call it explicilty " "with bot instance `await bot(method)`\n" "or mount method to a bot instance `method.as_(bot)` " - "and then call it `await method()`" + "and then call it `await method`" ) return self.emit(bot).__await__()