{"action":"created","issue":{"url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/issues/277","repository_url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot","labels_url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/issues/277/comments","events_url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/issues/277/events","html_url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/277","id":152539196,"number":277,"title":"InlineKeyboardMarkup does not accepts InlineKeyboardButton","user":{"login":"EvertKors","id":16412162,"avatar_url":"https://avatars.githubusercontent.com/u/16412162?v=3","gravatar_id":"","url":"https://api.github.com/users/EvertKors","html_url":"https://github.com/EvertKors","followers_url":"https://api.github.com/users/EvertKors/followers","following_url":"https://api.github.com/users/EvertKors/following{/other_user}","gists_url":"https://api.github.com/users/EvertKors/gists{/gist_id}","starred_url":"https://api.github.com/users/EvertKors/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvertKors/subscriptions","organizations_url":"https://api.github.com/users/EvertKors/orgs","repos_url":"https://api.github.com/users/EvertKors/repos","events_url":"https://api.github.com/users/EvertKors/events{/privacy}","received_events_url":"https://api.github.com/users/EvertKors/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/labels/documentation","name":"documentation","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-02T11:55:24Z","updated_at":"2016-05-02T12:20:10Z","closed_at":"2016-05-02T12:20:10Z","body":"I got my buttons working in ReplyKeyboardMarkup and i changed it into InlineKeyboardMarkup with the following code\r\n\r\n```\r\nmark_up = InlineKeyboardMarkup(\r\n    [[InlineKeyboardButton('inline button')]]\r\n)\r\n```\r\n\r\nAnd i get the following error\r\n\r\n>  telegram.error.NetworkError: [Error : 400 : Bad Request: Can't parse inline keyboard button: Text buttons are unallowed in the inline keyboard] (400)\r\n\r\nBelow is the documentation of the InlineKeyboardMarkup and as you can see it is refering to a list of InlineKeyboardMarkup and not InlineKeyboardButton. \r\n\r\n\"\"\"This object represents a Telegram InlineKeyboardMarkup.\r\n    Attributes:\r\n        inline_keyboard (List[List[:class:`telegram.InlineKeyboardMarkup`]]):\r\n    Args:\r\n        inline_keyboard (List[List[:class:`telegram.InlineKeyboardMarkup`]]):\r\n \"\"\"\r\n"},"comment":{"url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/issues/comments/216221284","html_url":"https://github.com/python-telegram-bot/python-telegram-bot/issues/277#issuecomment-216221284","issue_url":"https://api.github.com/repos/python-telegram-bot/python-telegram-bot/issues/277","id":216221284,"user":{"login":"jh0ker","id":3945220,"avatar_url":"https://avatars.githubusercontent.com/u/3945220?v=3","gravatar_id":"","url":"https://api.github.com/users/jh0ker","html_url":"https://github.com/jh0ker","followers_url":"https://api.github.com/users/jh0ker/followers","following_url":"https://api.github.com/users/jh0ker/following{/other_user}","gists_url":"https://api.github.com/users/jh0ker/gists{/gist_id}","starred_url":"https://api.github.com/users/jh0ker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jh0ker/subscriptions","organizations_url":"https://api.github.com/users/jh0ker/orgs","repos_url":"https://api.github.com/users/jh0ker/repos","events_url":"https://api.github.com/users/jh0ker/events{/privacy}","received_events_url":"https://api.github.com/users/jh0ker/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T12:20:09Z","updated_at":"2016-05-02T12:20:09Z","body":"Fixed, thank you for reporting :)"}}