Commit ae6c3ef2 authored by arassypnov's avatar arassypnov Committed by GitHub

Update Request.php

parent 904d42d3
......@@ -204,7 +204,7 @@ class Request
{
//Fix so that the keyboard markup is a string, not an object
if (isset($data['reply_markup'])) {
$data['reply_markup'] = (string)$data['reply_markup'];
$data['reply_markup'] = json_encode($data['reply_markup']);
}
$request_params = self::setUpRequestParams($data);
......
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