Spaces:
Runtime error
Runtime error
Update bot/ui/callbacks.py
Browse files- bot/ui/callbacks.py +10 -3
bot/ui/callbacks.py
CHANGED
|
@@ -8,13 +8,20 @@ def parse_cb(data: str) -> tuple[str, str]:
|
|
| 8 |
a, b = data.split(":", 1)
|
| 9 |
return a, b
|
| 10 |
|
| 11 |
-
# actions
|
| 12 |
AUTH_JSON = "auth_json"
|
| 13 |
AUTH_CI = "auth_ci"
|
| 14 |
CANCEL = "cancel"
|
|
|
|
| 15 |
|
| 16 |
-
# menu actions
|
| 17 |
MENU_HELP = "menu_help"
|
| 18 |
MENU_AUTH = "menu_auth"
|
| 19 |
MENU_PROFILES = "menu_profiles"
|
| 20 |
-
MENU_SPEEDTEST = "menu_speedtest"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
a, b = data.split(":", 1)
|
| 9 |
return a, b
|
| 10 |
|
| 11 |
+
# auth actions
|
| 12 |
AUTH_JSON = "auth_json"
|
| 13 |
AUTH_CI = "auth_ci"
|
| 14 |
CANCEL = "cancel"
|
| 15 |
+
BACK = "back"
|
| 16 |
|
| 17 |
+
# main menu actions
|
| 18 |
MENU_HELP = "menu_help"
|
| 19 |
MENU_AUTH = "menu_auth"
|
| 20 |
MENU_PROFILES = "menu_profiles"
|
| 21 |
+
MENU_SPEEDTEST = "menu_speedtest"
|
| 22 |
+
|
| 23 |
+
# upload confirm actions
|
| 24 |
+
UP_GO = "up_go"
|
| 25 |
+
UP_EDIT = "up_edit"
|
| 26 |
+
UP_PRIV = "up_priv"
|
| 27 |
+
UP_CANCEL = "up_cancel"
|