← Volver al panel principal

🤖 Bot de Telegram

Token configurado: 7768649141***
Chat Admin ID: -4832195099

📋 Comandos Disponibles

/start - Iniciar el bot y ver comandos disponibles
/status - Ver estado del sistema (solo grupo admin)
/help - Mostrar ayuda y comandos disponibles

🚀 Cómo Usar el Bot

Opción 1: Ejecutar en el contenedor (Recomendado)

docker exec -it sistema_app bash /var/www/html/telegram-bot/start-bot.sh

Opción 2: Ejecutar directamente

docker exec -it sistema_app php /var/www/html/telegram-bot/polling.php

Opción 3: Configurar webhook (producción)

docker exec -it sistema_app php /var/www/html/telegram-bot/webhook.php

📊 Información del Comando /status

El comando /status muestra:

⚠️ Importante: El comando /status solo funciona en el grupo admin configurado. Otros usuarios recibirán un mensaje de error de permisos.

🔧 Probar el Bot

Para probar el estado del sistema sin Telegram:

docker exec -it sistema_app php /var/www/html/telegram-bot/bot.php

📱 Agregar el Bot a Telegram

  1. Busca el bot en Telegram usando su token
  2. Inicia una conversación con /start
  3. Agrega el bot al grupo admin configurado
  4. Usa /status en el grupo para ver el estado