A copy of the telegram bot @LivegramBot, only the basic functions
Send /newbot and configure the bot name and user name
https://api.telegram.org/bot<TOKEN>/setWebhook?url=<your website script link>
In my case:
https://api.telegram.org/bot7282297:abc39303nu0edhoHN9hu202he/setWebhook?url=https://example.com/bot/index.php
If everything is correct bot should work.