Commit 51ab17eb authored by Metallizzer's avatar Metallizzer Committed by GitHub
parent 990485bf
......@@ -285,7 +285,9 @@ class Request
*/
public static function getMe()
{
return self::send('getMe');
// Added fake parameter, because of some cURL version failed POST request without parameters
// see https://github.com/akalongman/php-telegram-bot/pull/228
return self::send('getMe', ['whoami']);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment