Update dispatcher.py

This commit is contained in:
Gabben 2020-03-09 20:56:19 +05:00 committed by GitHub
parent 8686482e2f
commit cefdeb43f8
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)