I\'m developing a Telegram bot, and I want to set the webhook to my domain\'s URL. I\'ve already generated a self-signed certificate following the Telegram\'s guide. However
I created a file on my server for conveniently setting up telegram webhooks.
You can use the same file on your server.
This should be on the same server from which you wish to run the Telegram Bot
Set Webhooks
.pem is enabled on your webserverYou will get a successful result:
{"ok":true,"result":true,"description":"Webhook was set"}