{"action":"closed","issue":{"url":"https://api.github.com/repos/akalongman/php-telegram-bot/issues/351","repository_url":"https://api.github.com/repos/akalongman/php-telegram-bot","labels_url":"https://api.github.com/repos/akalongman/php-telegram-bot/issues/351/labels{/name}","comments_url":"https://api.github.com/repos/akalongman/php-telegram-bot/issues/351/comments","events_url":"https://api.github.com/repos/akalongman/php-telegram-bot/issues/351/events","html_url":"https://github.com/akalongman/php-telegram-bot/issues/351","id":196273316,"number":351,"title":"Resize the keyboard vertically for optimal fit","user":{"login":"firelionml","id":20251070,"avatar_url":"https://avatars.githubusercontent.com/u/20251070?v=3","gravatar_id":"","url":"https://api.github.com/users/firelionml","html_url":"https://github.com/firelionml","followers_url":"https://api.github.com/users/firelionml/followers","following_url":"https://api.github.com/users/firelionml/following{/other_user}","gists_url":"https://api.github.com/users/firelionml/gists{/gist_id}","starred_url":"https://api.github.com/users/firelionml/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firelionml/subscriptions","organizations_url":"https://api.github.com/users/firelionml/orgs","repos_url":"https://api.github.com/users/firelionml/repos","events_url":"https://api.github.com/users/firelionml/events{/privacy}","received_events_url":"https://api.github.com/users/firelionml/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-18T12:34:39Z","updated_at":"2016-12-18T14:57:47Z","closed_at":"2016-12-18T14:57:47Z","body":"Hi!\r\n\r\nIt is impossible to change the vertical keyboard.\r\n\r\n```\r\n    public function execute()\r\n    {\r\n        $keyboard = new Keyboard([\r\n            ['text' =>'Hello'],\r\n        ]);\r\n\r\n        //Return a random keyboard.\r\n        $keyboard\r\n            ->setResizeKeyboard(true)\r\n            ->setOneTimeKeyboard(true)\r\n            ->setSelective(false);\r\n\r\n        $chat_id = $this->getMessage()->getChat()->getId();\r\n        $data = [\r\n            'chat_id'      => $chat_id,\r\n            'text'         => 'Text',\r\n            'reply_markup' => $keyboard,\r\n        ];\r\n\r\n        return Request::sendMessage($data);\r\n    }\r\n```\r\nWhat I do not so?\r\nScreenshot https://www.dropbox.com/s/mmbwfwwpt3i6i46/2016-12-18_223313.png?dl=0"}}
{"actor":{"display_login":"firelionml"}}