How to connect to the Telegram bot statistics?

Please help me to connect PHP to a Telegram bot usage statistics, with the help of Botan.io
Nothing happens... :(

Bot created for this user (same source) - aftamat4ik.ru/bot-dlya-telegram-na-php-knopki-post...
June 8th 19 at 17:25
1 answer
June 8th 19 at 17:27
Here is the instruction
The truth is there in the Python example . And the 2nd link on github
BotanPHP
The token and stuff I already have on the metric, just a question how exactly such a bot tie (with this library).
I tried to register here so
$token = "TOKEN SAMOGO BOTA";
$bot = new \TelegramBot\Api\Client($token,null);
$bot = new \TelegramBot\Api\Client($token,"TOKEN BOTAN");


With this code it is working, not working, and sometimes even "hang" of the bot... - joel_OConner commented on June 8th 19 at 17:30
is the library itself is buggy , try another on github . Nerd also kind of buggy. - larry_Legr commented on June 8th 19 at 17:33

Find more questions by tags AnalystBotsTelegram