Skip to content

ainulhamdani/telegrambot

Repository files navigation

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

About

Telegram Bot for BEATs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published