diff --git a/aiogram/bot/bot.py b/aiogram/bot/bot.py index a9561220..fe4b84ae 100644 --- a/aiogram/bot/bot.py +++ b/aiogram/bot/bot.py @@ -92,7 +92,7 @@ class Bot(BaseBot): :param certificate: file :param max_connections: int :param allowed_updates: list of str - :return: :class:`aiogram.types.WebhookInfo` + :return: bool """ return await super(Bot, self).set_webhook(url, certificate, max_connections)