mirror of
https://github.com/marcogll/telegram_new_socias.git
synced 2026-01-13 21:25:16 +00:00
feat: Implement a new links menu, consolidate the main action keyboard into a ui module, and update employee ID generation logic.
This commit is contained in:
13
modules/ui.py
Normal file
13
modules/ui.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from telegram import ReplyKeyboardMarkup
|
||||
|
||||
|
||||
def main_actions_keyboard() -> ReplyKeyboardMarkup:
|
||||
"""Teclado inferior con comandos directos (un toque lanza el flujo)."""
|
||||
return ReplyKeyboardMarkup(
|
||||
[
|
||||
["/welcome"],
|
||||
["/vacaciones", "/permiso"],
|
||||
["/links", "/start"],
|
||||
],
|
||||
resize_keyboard=True,
|
||||
)
|
||||
Reference in New Issue
Block a user