Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to perform step 3 on windows pc? #4

Open
askfriends opened this issue Mar 27, 2023 · 1 comment
Open

how to perform step 3 on windows pc? #4

askfriends opened this issue Mar 27, 2023 · 1 comment

Comments

@askfriends
Copy link

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

@fardezh
Copy link

fardezh commented Mar 30, 2023

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants