How To Deploy PHP Telegram Bot
Noobs GangSo Here Is The Article On How To Deploy A PHP Telegram Bot.
Requirements :
• A Github Account (It's Free Make Your Account)
• Heroku (It is Free For Deploying But has A Limit)
Steps To Deploy :
- Make A New Repository On Github And Upload The Php Files In The Repo.
- Go To Heroku.com And Create a New App.
- Give The App A Name.
- Then Click On Connect With Github.
- Login With Your Github Account.
- Then Enter The Repository Name In The Box And Connect It With Heroku.
- Now Deploy The App And Click On View And Copy The Link.
- We Have Deployed The App And Now We Must Connect It.
9. Edit This And Paste This In The Browser https://api.telegram.org/bot<your bot token>/setWebhook?url=<paste the copied link>
- Done Try Starting The Bot..If U Still Have Issue Contact Us At @NoobsGangDiscussion
Thanks For Reading This Article Join @NoobsGang For More..Cheers