Send a message with Telegram's bot API (for cronjobs and related)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Cat /dev/Nulo f4ea75fa68 Reintentar varias veces 2 weeks ago
.gitignore gitignore: No guardar binarios 3 weeks ago
build.sh build.sh: Arreglar compilación estática 3 weeks ago
go.mod a 3 weeks ago
go.sum a 3 weeks ago
main.go Reintentar varias veces 2 weeks ago
readme.md Usar variables de env en vez de archivo json 3 weeks ago
upload.sh build.sh upload.sh 3 weeks ago

readme.md

telegram-bot-send-message

Get token from @BotFather. Get chat id with a bot like @getmy_idbot.

Run

TELEGRAM_BOT_TOKEN=replace_with_token TELEGRAM_CHAT_ID=replace_with_chat_id telegram-bot-send-message "I hate computers."