Commit 6e1f63a8 authored by Armando Lüscher's avatar Armando Lüscher Committed by GitHub

Merge pull request #229 from Metallizzer/develop

Update Request.php
parents 990485bf 51ab17eb
......@@ -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