Skip to content

Commit

Permalink
Merge pull request #364 from vlkorsakov/update_docs
Browse files Browse the repository at this point in the history
Fix reference to custom SwitchInlineQueryCurrentChat widget
  • Loading branch information
Tishka17 committed Feb 4, 2024
2 parents 0a138c1 + 0a5cae4 commit 5d44136
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/widgets/custom_widgets/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ You can create custom widgets if your are not satisfied with existing ones.
If you are making Keyboard widget it is important to create ``InlineKeyboardButton`` instances on each rendering instead of reusing same instance. This is because dialogs modify ``callback_data`` in it.


* :ref:`SwitchInlineQueryCurrentChat<_switch_inline_query_current_chat>` - opens inline query in current chat
* :ref:`SwitchInlineQueryCurrentChat<switch_inline_query_current_chat>` - opens inline query in current chat

.. toctree::
:hidden:
Expand Down

0 comments on commit 5d44136

Please sign in to comment.