C
C
Cyril2020-05-13 23:01:09
PHP
Cyril, 2020-05-13 23:01:09

Why doesn't Botman see the Telegram driver?

I decided to try Botman io, I do it according to the guides - Tyk 1 Tyk 2

VS Code writes Undefined type 'TelegramDriver'
Errors:

[Thu May 14 01:41:19 2020] 127.0.0.1:53383 [500]: POST /bot.php - Uncaught Error: Class 'BotMan\BotMan\Drivers\TelegramDriver' not found in C:\Users\Kirill\Desktop\sh8der\bot-name\vendor\botman\botman\src\Drivers\DriverManager.php:173
Stack trace:
#0 C:\Users\Kirill\Desktop\sh8der\bot-name\vendor\botman\botman\src\BotManFactory.php(68): BotMan\BotMan\Drivers\DriverManager->getMatchingDriver()
#1 C:\Users\Kirill\Desktop\sh8der\bot-name\bot.php(21): BotMan\BotMan\BotManFactory::create()
#2 {main}
  thrown in C:\Users\Kirill\Desktop\sh8der\bot-name\vendor\botman\botman\src\Drivers\DriverManager.php on line 173


The composer installed everything without any problems, regenerated the files. I can't figure out what the problem is.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question