Prerequisites: Python 3.x installed. Install the required library: pip install python-telegram-bot Run the script python <file_name>.py Get info https://api.telegram.org/bot<YOUR_TELEGRAM_TOKEN>/getWebhookInfo