Usage: php setup_webhook.php https://yourdomain.com/bot/webhook.php No server access? Just open this in your browser instead: https://api.telegram.org/bot8613717742:AAFyenkhuxBN6bl1_KTjZNP7RZsH_Hm8Dfk/setWebhook?url=