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
4 months ago
.gitignore gitignore: No guardar binarios 5 months ago
build.sh build.sh: Arreglar compilación estática 5 months ago
go.mod a 5 months ago
go.sum a 5 months ago
main.go Reintentar varias veces 4 months ago
readme.md Usar variables de env en vez de archivo json 5 months ago
upload.sh build.sh upload.sh 5 months 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."