Open askfriends opened 1 year ago
It's pretty simple using the windows PowerShell and Curl, First you need to install Curl, Here is the complete guide on how to install curl on windows.
Then Just open Windows PowerShell and run this script (of course after you changed the variables):
$TELEGRAM_API_TOKEN = # YOUR TELEGRAM API TOKEN
$TELEGRAM_WEBHOOK_URL = # YOUR CYCLIC DEPLOYMENT URL
curl "https://api.telegram.org/bot$TELEGRAM_API_TOKEN/setWebhook?url=$TELEGRAM_WEBHOOK_URL"
im on windows 11 pc, so how can i perform step 3 which says "Step 3 — Link the bot with your new server" ?
plz help