Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 740 Bytes

readme.rst

File metadata and controls

22 lines (16 loc) · 740 Bytes

Telegram Bot Webhook

This is telegram bot webhook and logic with Codeigniter

How to use

  • Clone this repo to your public folder (Apache or Nginx)
  • Change BOT_TOKEN and WEBHOOK_URL in /application/config/config.php with your own
  • Import database schema to your mysql database and setting /application/config/database.php with your mysql username and password
  • Deploy the application
  • Access https://your.server.path/telegram/webhook/reg to register your webhook with the bot, it will show success message if success

Next Step

The logic of the bot can be found in /application/models/TelegramModel.php