Merge pull request #278 from aiogram/gabbhack-patch-1

Update dispatcher.py
This commit is contained in:
Alex Root Junior 2020-03-10 17:19:56 +02:00 committed by GitHub
commit 556e3da54f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -935,7 +935,7 @@ class Dispatcher(DataMixin, ContextInstanceMixin):
.. code-block:: python3
@dp.poll_answer_handler()
async def some_poll_answer_handler(poll: types.Poll)
async def some_poll_answer_handler(poll_answer: types.PollAnswer)
:param custom_filters:
:param run_task: run callback in task (no wait results)