Telegram-Bot-API
Telegram-Bot-API copied to clipboard
Request 400 Error
Everything works fine, until I chat with the bot, it came out 400 error.
C:\xampp\htdocs\whatsapp\v3\telegram\examples>php exampleFunctional.php
####################################
# Telegram CLIENT #
####################################
Get Bot Information:
{"ok":true,"result":{"id":17######56,"first_name":"NickBot","username":"Nick147_b
ot"}}
Fatal error: Call to undefined function finfo_open() in C:\xampp\htdocs\whatsapp
\v3\telegram\src\Telegram.php on line 440
Have a look at your php.ini file and check that the fileinfo.so or php_fileinfo.dll is activated (depending on your platform and version).
There should be a line similar to
extension=fileinfo.so
in your php.ini file