- just require everyfile in it (require all files in '/src' also '/src/types')
- main repo is on GitLab ((https://gitlab.com/ReloadLife/Telegram-Bot-PHP)[https://gitlab.com/ReloadLife/telegram-bot-php])
<?php
namespace TEST;
use TelegramBotPHP;
$telegram = new methods ( 'TOKEN' );
$updates = new getUpdates ();
if ( $updates->text ) {
$telegram->sendMessages([
'chat_id' => $updates->from->id,
'text' => $updates->text,
]);
}
// :)
- if you have any question about it you can contact me right there Telegram Email: [email protected]
- if you liked it star project to support me and if you like me Get me A cup of coffee
- enjoy :)