{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1053","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1053/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1053/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1053/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/1053","id":172261340,"number":1053,"title":"[C#] Telegram - error when get response : error_code\":400,\"description\":\"Bad Request: Url host is empty\"","user":{"login":"Varooneh","id":16257304,"avatar_url":"https://avatars.githubusercontent.com/u/16257304?v=3","gravatar_id":"","url":"https://api.github.com/users/Varooneh","html_url":"https://github.com/Varooneh","followers_url":"https://api.github.com/users/Varooneh/followers","following_url":"https://api.github.com/users/Varooneh/following{/other_user}","gists_url":"https://api.github.com/users/Varooneh/gists{/gist_id}","starred_url":"https://api.github.com/users/Varooneh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Varooneh/subscriptions","organizations_url":"https://api.github.com/users/Varooneh/orgs","repos_url":"https://api.github.com/users/Varooneh/repos","events_url":"https://api.github.com/users/Varooneh/events{/privacy}","received_events_url":"https://api.github.com/users/Varooneh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"eanders-MS","id":12176807,"avatar_url":"https://avatars.githubusercontent.com/u/12176807?v=3","gravatar_id":"","url":"https://api.github.com/users/eanders-MS","html_url":"https://github.com/eanders-MS","followers_url":"https://api.github.com/users/eanders-MS/followers","following_url":"https://api.github.com/users/eanders-MS/following{/other_user}","gists_url":"https://api.github.com/users/eanders-MS/gists{/gist_id}","starred_url":"https://api.github.com/users/eanders-MS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eanders-MS/subscriptions","organizations_url":"https://api.github.com/users/eanders-MS/orgs","repos_url":"https://api.github.com/users/eanders-MS/repos","events_url":"https://api.github.com/users/eanders-MS/events{/privacy}","received_events_url":"https://api.github.com/users/eanders-MS/received_events","type":"User","site_admin":false},"assignees":[{"login":"eanders-MS","id":12176807,"avatar_url":"https://avatars.githubusercontent.com/u/12176807?v=3","gravatar_id":"","url":"https://api.github.com/users/eanders-MS","html_url":"https://github.com/eanders-MS","followers_url":"https://api.github.com/users/eanders-MS/followers","following_url":"https://api.github.com/users/eanders-MS/following{/other_user}","gists_url":"https://api.github.com/users/eanders-MS/gists{/gist_id}","starred_url":"https://api.github.com/users/eanders-MS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eanders-MS/subscriptions","organizations_url":"https://api.github.com/users/eanders-MS/orgs","repos_url":"https://api.github.com/users/eanders-MS/repos","events_url":"https://api.github.com/users/eanders-MS/events{/privacy}","received_events_url":"https://api.github.com/users/eanders-MS/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-08-20T08:44:38Z","updated_at":"2016-08-25T18:49:03Z","closed_at":null,"body":"Hi, when I want work with botframework and telegram, I get this error \r\n{\"ok\":false,\"error_code\":400,\"description\":\"Bad Request: Url host is empty\"}\r\nwhat is this? and how to fix?"},"comment":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/comments/242498250","html_url":"https://github.com/Microsoft/BotBuilder/issues/1053#issuecomment-242498250","issue_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1053","id":242498250,"user":{"login":"Varooneh","id":16257304,"avatar_url":"https://avatars.githubusercontent.com/u/16257304?v=3","gravatar_id":"","url":"https://api.github.com/users/Varooneh","html_url":"https://github.com/Varooneh","followers_url":"https://api.github.com/users/Varooneh/followers","following_url":"https://api.github.com/users/Varooneh/following{/other_user}","gists_url":"https://api.github.com/users/Varooneh/gists{/gist_id}","starred_url":"https://api.github.com/users/Varooneh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Varooneh/subscriptions","organizations_url":"https://api.github.com/users/Varooneh/orgs","repos_url":"https://api.github.com/users/Varooneh/repos","events_url":"https://api.github.com/users/Varooneh/events{/privacy}","received_events_url":"https://api.github.com/users/Varooneh/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T18:49:03Z","updated_at":"2016-08-25T18:49:03Z","body":"When user want to work with bot, in menu user see `1- پیتزا - [/XedRZs]` , for response, user can send 1 or click on `/XedRZs` like link and then, 1 or `/XedRZs` send to server, brackets just use like a border and not send to server, I traced input string from user and it's ok.\r\n\r\n> When it was working 2-3 weeks ago, was the message formatted like it is now, with the slash command in square brackets? When formatted like this 1- پیتزا - [/XedRZs], it was working?\r\n\r\nYes, it was like it is now and it's worked successfully, I'm sure square brackets not send to server but for for greater certainty I test again.\r\n\r\n> Looking through our Telegram service logs, the most recent failure from one of your bots happened at 10:26 AM PST (about 30 mins ago). The message still contained the slash command surrounded by square brackets (the [ and ] characters). Telegram is rejecting the message because the text inside the brackets is expected to be a URL. Telegram tries to parse the slash command as a URL, doesn't find a hostname, and returns an error.\r\n\r\nYes, I know telegram check bracket and markdown styling but (for me) also /start doesn't work, this is default bot command in telegram bot, all telegram bot for begin conversation with user have /start command at first and according to you (telegram bracket exception) /start should not to work because this is like link.\r\n\r\n> As a test, are you able to successfully send the same message without the brackets? e.g., this:\r\n1- پیتزا - /XedRZs\r\ninstead of:\r\n1- پیتزا - [/XedRZs]\r\n\r\nYes but, I try to change the code and test again .\r\n\r\nThank you for help me.\r\n"}}
{"actor":{"display_login":"Varooneh"}}