Setting your Telegram Bot WebHook the easy way

Paolo Montalto
Oct 19, 2017 · 1 min read
https://api.telegram.org/bot{my_bot_token}/setWebhook?url={url_to_send_updates_to}
https://api.telegram.org/bot123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11/setWebhook?url=https://www.example.com/my-telegram-bot
https://api.telegram.org/bot{my_bot_token}/getWebhookInfo
{
"ok":true,
"result":
{
"url":"https://www.example.com/my-telegram-bot/",
"has_custom_certificate":false,
"pending_update_count":0,
"max_connections":40
}
}

Paolo Montalto

Written by

Freelance, mobile developer, software craftsman, guitar strummer, husband, father, humble.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade