Aquesta és una revisió antiga del document


telegram

#!/bin/bash
 
TOKEN="escribe tu token aquí"
ID="escribe tu id aquí"
MENSAJE="Esto es un Mensaje de Prueba"
URL="https://api.telegram.org/bot$TOKEN/sendMessage"
 
curl -s -X POST $URL -d chat_id=$ID -d text="$MENSAJE"
  • software/telegram/start.1565623735.txt.gz
  • Darrera modificació: 12/08/2019 08:28
  • per mate