- copy the PHP files to your webhost.
- Rename
config.sample.php
toconfig.php
- Edit
config.php
- Now, go to
https://api.telegram.org/botTOKEN/setWebhook?url=URL/bot.php
- Start the bot!
config.sample.php
to config.php
config.php
https://api.telegram.org/botTOKEN/setWebhook?url=URL/bot.php