mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Del from comments CHOSEN_INLINE_QUERY
This commit is contained in:
parent
1ad96e4e4c
commit
3e600254fc
1 changed files with 3 additions and 3 deletions
|
|
@ -768,7 +768,7 @@ class Dispatcher(DataMixin, ContextInstanceMixin):
|
|||
|
||||
.. code-block:: python3
|
||||
|
||||
dp.register_chosen_inline_handler(some_chosen_inline_handler, lambda chosen_inline_query: True)
|
||||
dp.register_chosen_inline_handler(some_chosen_inline_handler, lambda chosen_inline_result: True)
|
||||
|
||||
:param callback:
|
||||
:param state:
|
||||
|
|
@ -793,8 +793,8 @@ class Dispatcher(DataMixin, ContextInstanceMixin):
|
|||
|
||||
.. code-block:: python3
|
||||
|
||||
@dp.chosen_inline_handler(lambda chosen_inline_query: True)
|
||||
async def some_chosen_inline_handler(chosen_inline_query: types.ChosenInlineResult)
|
||||
@dp.chosen_inline_handler(lambda chosen_inline_result: True)
|
||||
async def some_chosen_inline_handler(chosen_inline_result: types.ChosenInlineResult)
|
||||
|
||||
:param state:
|
||||
:param custom_filters:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue