{"action":"created","issue":{"url":"https://api.github.com/repos/irazasyed/telegram-bot-sdk/issues/9","labels_url":"https://api.github.com/repos/irazasyed/telegram-bot-sdk/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/irazasyed/telegram-bot-sdk/issues/9/comments","events_url":"https://api.github.com/repos/irazasyed/telegram-bot-sdk/issues/9/events","html_url":"https://github.com/irazasyed/telegram-bot-sdk/issues/9","id":95831670,"number":9,"title":"One time keyboard may not be working correctly.","user":{"login":"jonnywilliamson","id":2513663,"avatar_url":"https://avatars.githubusercontent.com/u/2513663?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnywilliamson","html_url":"https://github.com/jonnywilliamson","followers_url":"https://api.github.com/users/jonnywilliamson/followers","following_url":"https://api.github.com/users/jonnywilliamson/following{/other_user}","gists_url":"https://api.github.com/users/jonnywilliamson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnywilliamson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnywilliamson/subscriptions","organizations_url":"https://api.github.com/users/jonnywilliamson/orgs","repos_url":"https://api.github.com/users/jonnywilliamson/repos","events_url":"https://api.github.com/users/jonnywilliamson/events{/privacy}","received_events_url":"https://api.github.com/users/jonnywilliamson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-07-18T15:12:09Z","updated_at":"2015-10-19T19:52:24Z","closed_at":"2015-07-29T21:32:06Z","body":"Hi there,\r\n\r\nThis package is just fantastic. I have it working really well at the moment. Just noticed one thing that I'm not sure is actually broken but I'll run it past you.\r\n\r\nThe official docs state:\r\n\r\n![github](https://cloud.githubusercontent.com/assets/2513663/8762055/96ac9c38-2d65-11e5-9a63-cbc967490b2e.png)\r\n\r\n\r\nSo in my mind, you should receive a message, when you go to reply, the custom keyboard appears and you can select your option but then the keyboard is GONE and doesn't come back.\r\n\r\nWhen I try this code:\r\n\r\n```php\r\n    $keyboard = [\r\n        ['Yes', 'No', 'Maybe'],\r\n        [\"I'm Not Sure\", 'Can You'],\r\n        ['Repeat the question?']\r\n    ];\r\n\r\n$response = Telegram::sendMessage('<myid>', 'Hello!', false, null, Telegram::replyKeyboardMarkup($keyboard, true, true, false));\r\n```\r\n\r\nI get my message perfectly and the custom keyboard pops up:\r\n\r\n![2015-07-18 16 00 18](https://cloud.githubusercontent.com/assets/2513663/8762120/7f833fd8-2d67-11e5-9cb7-7665b0a06223.png)\r\n\r\n\r\nHowever when I press my reply, the custom keyboard icon doesn't disappear:\r\n\r\n![2015-07-18 16 00 26](https://cloud.githubusercontent.com/assets/2513663/8762121/8541889e-2d67-11e5-8647-3ebe093daca3.png)\r\n\r\nPressing on this icon brings up the custom keyboard all the time.\r\n\r\n\r\nThe only way to remove the custom keyboard is to send a new message with \r\n\r\n```php\r\n    $response = Telegram::sendMessage('<myid>', 'Just removing the keyboard', false, null, Telegram::replyKeyboardHide());\r\n```\r\n\r\nNow instantly it disappears:\r\n\r\n![2015-07-18 16 00 58](https://cloud.githubusercontent.com/assets/2513663/8762122/8a25bf38-2d67-11e5-83d3-decf56c13406.png)\r\n\r\n\r\nIs this intentional or is there a bug with how the one-time-keyboard should work?"},"comment":{"url":"https://api.github.com/repos/irazasyed/telegram-bot-sdk/issues/comments/149327298","html_url":"https://github.com/irazasyed/telegram-bot-sdk/issues/9#issuecomment-149327298","issue_url":"https://api.github.com/repos/irazasyed/telegram-bot-sdk/issues/9","id":149327298,"user":{"login":"jonnywilliamson","id":2513663,"avatar_url":"https://avatars.githubusercontent.com/u/2513663?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnywilliamson","html_url":"https://github.com/jonnywilliamson","followers_url":"https://api.github.com/users/jonnywilliamson/followers","following_url":"https://api.github.com/users/jonnywilliamson/following{/other_user}","gists_url":"https://api.github.com/users/jonnywilliamson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnywilliamson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnywilliamson/subscriptions","organizations_url":"https://api.github.com/users/jonnywilliamson/orgs","repos_url":"https://api.github.com/users/jonnywilliamson/repos","events_url":"https://api.github.com/users/jonnywilliamson/events{/privacy}","received_events_url":"https://api.github.com/users/jonnywilliamson/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T19:52:24Z","updated_at":"2015-10-19T19:52:24Z","body":"I don't use this feature at the moment, but I haven't seen anything in the documentation that would suggest they have improved it."}}