From 75a5dd14928a33470e8892b2d72e28d9260a1151 Mon Sep 17 00:00:00 2001 From: Badiboy Date: Tue, 22 Sep 2020 01:34:49 +0300 Subject: [PATCH] Minor bugfix --- telebot/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telebot/types.py b/telebot/types.py index 55689a6..2d004fa 100644 --- a/telebot/types.py +++ b/telebot/types.py @@ -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: