* Fixed type in \TgBotLib\Objects\Telegram > Message > fromArray() where forum_topic_created is being parsed for forum_topic_edited instead of forum_topic_edited

Updated README.md to reflect the new changes with TamerLib 2.+
This commit is contained in:
Netkas 2023-08-10 14:25:05 -04:00
parent fbc472d8de
commit 54e81b4137
No known key found for this signature in database
GPG key ID: 5DAF58535614062B
7 changed files with 51 additions and 40 deletions

View file

@ -2,7 +2,7 @@
require __DIR__ . DIRECTORY_SEPARATOR . 'autoload.php';
$bot = new TgBotLib\Bot(getenv('BOT_TOKEN'));
$bot = new TgBotLib\Bot('<BOT TOKEN>');
$bot->setCommandHandler('start', new \commands\StartCommand());
$bot->setCommandHandler('hash', new \commands\HashCommand());