mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-09 17:33:44 +00:00
Nothing.
This commit is contained in:
parent
f29f1216ac
commit
b966a87ade
2 changed files with 2 additions and 1 deletions
|
|
@ -181,6 +181,7 @@ class Dispatcher:
|
||||||
raise RuntimeError('Pooling already started')
|
raise RuntimeError('Pooling already started')
|
||||||
log.info('Start pooling.')
|
log.info('Start pooling.')
|
||||||
context.set_value(MODE, LONG_POOLING)
|
context.set_value(MODE, LONG_POOLING)
|
||||||
|
context.set_value('bot', self.bot)
|
||||||
|
|
||||||
self._pooling = True
|
self._pooling = True
|
||||||
offset = None
|
offset = None
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ from aiohttp import web
|
||||||
|
|
||||||
from .. import types
|
from .. import types
|
||||||
from ..bot import api
|
from ..bot import api
|
||||||
from ..bot.base import Boolean, Float, Integer, String
|
from ..types.base import Boolean, Float, Integer, String
|
||||||
from ..utils import context
|
from ..utils import context
|
||||||
from ..utils import json
|
from ..utils import json
|
||||||
from ..utils.deprecated import warn_deprecated as warn
|
from ..utils.deprecated import warn_deprecated as warn
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue