Começar
Quickstart
Do BotFather ao primeiro ask em minutos.
1. Criar o bot
- Abra @BotFather
/newbot→ nome e username- Copie o token
Comandos sugeridos (/setcommands):
start - Vincula este chat ao Teleagent
status - Verifica se o bridge está online
pending - Lista decisões abertas
help - Como usar alertas e decisões2. Instalar a CLI
git clone https://github.com/MatheusLTrindade/Teleagent.git
cd Teleagent
npm install
npm run build
npm link3. Configurar e subir
teleagent setup --token <BOT_TOKEN> --allowed-user <SEU_TELEGRAM_USER_ID>
teleagent serveNo Telegram, abra o bot e envie /start (grava o chat_id). O --allowed-user restringe o bot ao seu user id.
4. Primeiro ask
teleagent ask \
--project demo \
--question "Tudo certo?" \
--options "sim,não" \
--jsonOu baixe o app Windows em /download e inicie o bridge pelo hub.