From ee523afb8c2c7ba18987d8f6982584d548e167e8 Mon Sep 17 00:00:00 2001 From: Oleg A Date: Thu, 5 Nov 2020 14:03:54 +0300 Subject: [PATCH] AIOG-T-64 logOut type annotation fix --- aiogram/bot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogram/bot/bot.py b/aiogram/bot/bot.py index ad357643..3c24071c 100644 --- a/aiogram/bot/bot.py +++ b/aiogram/bot/bot.py @@ -176,7 +176,7 @@ class Bot(BaseBot, DataMixin, ContextInstanceMixin): result = await self.request(api.Methods.GET_ME, payload) return types.User(**result) - async def log_out(self) -> types.User: + async def log_out(self) -> base.Boolean: """ Use this method to log out from the cloud Bot API server before launching the bot locally. You **must** log out the bot before running it locally,