{"action":"created","issue":{"url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/65","labels_url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/65/comments","events_url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/65/events","html_url":"https://github.com/MrRoundRobin/telegram.bot/issues/65","id":124029741,"number":65,"title":"Webhook problem","user":{"login":"rasoul13","id":16459960,"avatar_url":"https://avatars.githubusercontent.com/u/16459960?v=3","gravatar_id":"","url":"https://api.github.com/users/rasoul13","html_url":"https://github.com/rasoul13","followers_url":"https://api.github.com/users/rasoul13/followers","following_url":"https://api.github.com/users/rasoul13/following{/other_user}","gists_url":"https://api.github.com/users/rasoul13/gists{/gist_id}","starred_url":"https://api.github.com/users/rasoul13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rasoul13/subscriptions","organizations_url":"https://api.github.com/users/rasoul13/orgs","repos_url":"https://api.github.com/users/rasoul13/repos","events_url":"https://api.github.com/users/rasoul13/events{/privacy}","received_events_url":"https://api.github.com/users/rasoul13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-28T07:35:02Z","updated_at":"2016-01-07T12:48:58Z","closed_at":null,"body":"Hi,\r\n\r\nhow you doing, guys thanks for your amazing works.\r\n\r\nFirst of all I'm very new in this bot things...\r\nmy problem is using webhook , I mean i used your library and when I set my webhook telegram does not call it.  on my windows server how should I create a correct SSL in IIS for a website so I can give that website URL to telegram, I tried to use this too : \r\n             // Endpoint must be configured with netsh:\r\n            // netsh http add urlacl url=https://+:8443/ user=<username>\r\n            // netsh http add sslcert ipport=0.0.0.0:8443 certhash=<cert thumbprint> appid=<random guid>\r\nbut I don know how exactly should I put parameters on the command and after this command which website has the ssl ? \r\n\r\n//    using (WebApp.Start<Startup>(\"[what exactly should I put here]\"))\r\n//            {\r\n//                // Register WebHook\r\n//                Bot.Api.SetWebhook(\"[what exactly should I put here]\").Wait();\r\n\r\n//                Console.WriteLine(\"Server Started\");\r\n\r\n//                // Stop Server after <Enter>\r\n//                Console.ReadLine();\r\n\r\n//                // Unregister WebHook\r\n//                Bot.Api.SetWebhook().Wait();\r\n//            }\r\n\r\nIt would be really nice of you if help me get this webhook working...\r\n\r\nThnks "},"comment":{"url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/comments/169654943","html_url":"https://github.com/MrRoundRobin/telegram.bot/issues/65#issuecomment-169654943","issue_url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/65","id":169654943,"user":{"login":"MrRoundRobin","id":948771,"avatar_url":"https://avatars.githubusercontent.com/u/948771?v=3","gravatar_id":"","url":"https://api.github.com/users/MrRoundRobin","html_url":"https://github.com/MrRoundRobin","followers_url":"https://api.github.com/users/MrRoundRobin/followers","following_url":"https://api.github.com/users/MrRoundRobin/following{/other_user}","gists_url":"https://api.github.com/users/MrRoundRobin/gists{/gist_id}","starred_url":"https://api.github.com/users/MrRoundRobin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrRoundRobin/subscriptions","organizations_url":"https://api.github.com/users/MrRoundRobin/orgs","repos_url":"https://api.github.com/users/MrRoundRobin/repos","events_url":"https://api.github.com/users/MrRoundRobin/events{/privacy}","received_events_url":"https://api.github.com/users/MrRoundRobin/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T12:48:58Z","updated_at":"2016-01-07T12:48:58Z","body":"Variable|Description|Example\r\n---|---|---\r\n{{listeningEndpoint}}|The Endpoint Your Application should listen|\"https://+:8443\" see [MSDN](https://msdn.microsoft.com/en-us/library/aa364698.aspx)\r\n{{user}}|The user running the application|\"administrator\"\r\n{{ipPort}}|Port for SSL Binding. Needs to be the same as in {{listeningEndpoint}}|\"8443\"\r\n{{certHash}}|Certificate hash|752c14ea195c369bac3c3b7896975ee9fd15eeb7\r\n{{appId}}|Random GUID|\"{36593a64-41e9-4e7c-be80-b3445193d640}\"\r\n{{webHookUrl}}|The Url which is called by Telegram|\"https://api.domain.com:8443/webhook\"\r\n\r\n\r\n```c#\r\n// Endpoint must be configured with netsh\r\n//\r\n// Allow {{user}} to listen on port\r\n// netsh http add urlacl url={{listeningEndpoint}} user={{user}}\r\n//\r\n// Add SSL Cert für HTTPS Listening (required by according to Telegram API Docs\r\n// netsh http add sslcert ipport=0.0.0.0:{{ipPort}} certhash={{certHash}} appid={{appId}}\r\n//\r\n\r\nusing (WebApp.Start(\"{{listeningEndpoint}}\"))\r\n{\r\n // Register WebHook\r\n Bot.Api.SetWebhook(\"{{webHookUrl}}\").Wait();\r\n\r\n Console.WriteLine(\"Server Started\");\r\n\r\n // Stop Server after \r\n Console.ReadLine();\r\n\r\n // Unregister WebHook\r\n Bot.Api.SetWebhook().Wait();\r\n}\r\n```"}}