TuriBot is a simple way to communicate with Telegram APIs in PHP
PHP 7.1 or higher with curl extension
composer require davtur19/turibot
- Look at the examples (webhook.php and getUpdates.php), it's very simple if you know PHP and OOP
- All methods have the parameters in the same order as the BotAPIs
- The
reply_markup
parameters already have a json_encode in the functions, you just need to pass arrays
https://github.com/php-telegram-bot/core/wiki/Securing-&-Hardening-your-Telegram-Bot