We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d789d9c commit afbeacbCopy full SHA for afbeacb
botogram/__init__.py
@@ -34,7 +34,7 @@
34
from .runner import run
35
from .objects import *
36
from .utils import usernames_in
37
-from .callbacks import buttons
+from .callbacks import Buttons, ButtonsRow
38
39
40
# This code will simulate the Windows' multiprocessing behavior if the
botogram/callbacks.py
@@ -100,11 +100,6 @@ def _serialize_attachment(self):
100
return {"inline_keyboard": rows}
101
102
103
-def buttons():
104
- """Create a new inline keyboard"""
105
- return Buttons()
106
-
107
108
def parse_callback_data(bot, chat, raw):
109
"""Parse the callback data generated by botogram and return it"""
110
raw = raw.encode("utf-8")
0 commit comments