1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

Minor bugfix

This commit is contained in:
Badiboy 2020-09-22 01:34:49 +03:00
parent 309e55845c
commit 75a5dd1492

View File

@ -945,7 +945,7 @@ class InlineKeyboardMarkup(Dictionaryable, JsonSerializable):
"""
This method adds buttons to the keyboard without exceeding row_width.
E.g. InlineKeyboardMarkup#add("A", "B", "C") yields the json result:
E.g. InlineKeyboardMarkup.add("A", "B", "C") yields the json result:
{keyboard: [["A"], ["B"], ["C"]]}
when row_width is set to 1.
When row_width is set to 2, the result: