4d186df
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh # Define the message to be sent MESSAGE="Hello" # Define the URL for the Telegram Bot API URL="https://api.telegram.org/bot${BOT_TOKEN}/sendMessage" # Send the message using curl curl -s -X POST $URL -d chat_id=$CHAT_ID -d text="$MESSAGE"