mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Merge 63b620aa95 into e4d3692ac2
This commit is contained in:
commit
aeffdf85f7
2 changed files with 2 additions and 1 deletions
1
CHANGES/1596.doc.rst
Normal file
1
CHANGES/1596.doc.rst
Normal file
|
|
@ -0,0 +1 @@
|
|||
Make sure KeyboardBuilder is not suggested to be used directly in the documentation.
|
||||
|
|
@ -150,7 +150,7 @@ class KeyboardBuilder(ABC, Generic[ButtonType]):
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
>>> builder = KeyboardBuilder(button_type=InlineKeyboardButton)
|
||||
>>> builder = InlineKeyboardBuilder(button_type=InlineKeyboardButton)
|
||||
>>> ... # Add buttons to builder
|
||||
>>> markup = InlineKeyboardMarkup(inline_keyboard=builder.export())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue