mrmuminov/php-telegram-bot

There is no license information available for the latest version (2.1.0) of this package.

php-telegram-bot

2.1.0 2023-03-19 15:20 UTC

This package is auto-updated.

Last update: 2024-04-18 08:29:34 UTC


README

Installation

  • Create new repository from this template and/or clone repository local pc.
  • Create config.php from config.example.php file to project root path.
  • Change credential information on config.php (database information, bot token, bot username, bot webhook url)
  • Install packages via composer
composer install
  • Execute index.php file for checking and setting webhook.
php index.php

If there is no error, then there is no problem.

  • Go to the Telegram bot and send the /start command
  • Wow, you receive new message from our special (and super xD) telegram bot.

Any question: