docs: Add comments and document /create_tag command

This commit adds detailed inline comments to the `app/modules/create_tag.py` module to improve code clarity and maintainability.

It also updates the `README.md` file to include a new section documenting the functionality and usage of the `/create_tag` command.
This commit is contained in:
google-labs-jules[bot]
2025-12-18 05:24:40 +00:00
parent 9e7e093409
commit 02dba09599
2 changed files with 83 additions and 13 deletions

View File

@@ -132,6 +132,21 @@ Cada módulo cumple una responsabilidad única:
---
## ⚡ Comandos Adicionales
### `/create_tag`
Este comando inicia un flujo conversacional para generar un tag de identificación en formato Base64, compatible con aplicaciones de escritura NFC. El bot solicitará los siguientes datos:
* **Nombre**
* **Número de empleado**
* **Sucursal**
* **ID de Telegram**
Al finalizar, el bot devolverá una cadena de texto en Base64 que contiene un objeto JSON con la información proporcionada.
---
## 🔁 Flujo General de Ejecución
1. Usuario envía mensaje o interactúa con botones