lukeliasi / binance-dca-bot

A bot to automatically DCA (Dollar-Cost Average) buy cryptocurrency on Binance
MIT License
183 stars 51 forks source link

(feature) telegram #4

Closed KeyboardDabbler closed 3 years ago

KeyboardDabbler commented 3 years ago

it would be nice to receive a notification to my telegram bot, the same way that you currently send email notifications.

I use something similar in a bash script if it helps.

api="**********************"  
groupid="-*********"  
testport1=8112 

curl -s -X POST https://api.telegram.org/bot$api/sendMessage -d chat_id="$groupid" -d text="$testport1 : is down"