# 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" | |
# 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" | |