How To Deploy PHP Telegram Bot

How To Deploy PHP Telegram Bot

Noobs Gang

So 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 :

  1. Make A New Repository On Github And Upload The Php Files In The Repo.
  2. Go To Heroku.com And Create a New App.
  3. Give The App A Name.
  4. Then Click On Connect With Github.
  5. Login With Your Github Account.
  6. Then Enter The Repository Name In The Box And Connect It With Heroku.
  7. Now Deploy The App And Click On View And Copy The Link.
  8. 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>

  1. Done Try Starting The Bot..If U Still Have Issue Contact Us At @NoobsGangDiscussion

Thanks For Reading This Article Join @NoobsGang For More..Cheers

Report Page