mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-12 10:11:52 +00:00
Removed obsolete code
This commit is contained in:
parent
41c764971b
commit
70ad68cf4a
2 changed files with 0 additions and 26 deletions
|
|
@ -1,7 +1,6 @@
|
|||
from aiohttp import web
|
||||
|
||||
from . import context
|
||||
from .deprecated import deprecated
|
||||
from ..bot.api import log
|
||||
from ..dispatcher import Dispatcher
|
||||
from ..dispatcher.webhook import BOT_DISPATCHER_KEY, get_new_configured_app
|
||||
|
|
@ -48,11 +47,6 @@ async def _wh_shutdown(app):
|
|||
await _shutdown(dispatcher, callback=callback)
|
||||
|
||||
|
||||
@deprecated('The old function was renamed to `start_polling`')
|
||||
def start_pooling(*args, **kwargs):
|
||||
return start_polling(*args, **kwargs)
|
||||
|
||||
|
||||
def start_polling(dispatcher, *, loop=None, skip_updates=False,
|
||||
on_startup=None, on_shutdown=None):
|
||||
log.warning('Start bot with long-polling.')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue