Browse Source

Row_width

TheHamkerCat 5 years ago
parent
commit
8564636e9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wbb/core/keyboard.py

+ 1 - 1
wbb/core/keyboard.py

@@ -52,4 +52,4 @@ def ikb(data: dict, row_width: int = 2):
     Converts a dict to pyrogram buttons
     Ex: dict_to_keyboard({"click here": "this is callback data"})
     """
-    return keyboard(data.items(), row_width=2)
+    return keyboard(data.items(), row_width=row_width)