{"action":"created","issue":{"url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/39","labels_url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/39/comments","events_url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/39/events","html_url":"https://github.com/MrRoundRobin/telegram.bot/issues/39","id":107511458,"number":39,"title":"set webhook example?","user":{"login":"navidsadeghpour","id":12582091,"avatar_url":"https://avatars.githubusercontent.com/u/12582091?v=3","gravatar_id":"","url":"https://api.github.com/users/navidsadeghpour","html_url":"https://github.com/navidsadeghpour","followers_url":"https://api.github.com/users/navidsadeghpour/followers","following_url":"https://api.github.com/users/navidsadeghpour/following{/other_user}","gists_url":"https://api.github.com/users/navidsadeghpour/gists{/gist_id}","starred_url":"https://api.github.com/users/navidsadeghpour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navidsadeghpour/subscriptions","organizations_url":"https://api.github.com/users/navidsadeghpour/orgs","repos_url":"https://api.github.com/users/navidsadeghpour/repos","events_url":"https://api.github.com/users/navidsadeghpour/events{/privacy}","received_events_url":"https://api.github.com/users/navidsadeghpour/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-21T13:26:59Z","updated_at":"2015-09-28T09:38:10Z","closed_at":null,"body":"Hi,\r\n\r\nI'm very new in this telegram things. \r\ncan you help me and make an example for using webhook and certificate parameter?\r\n\r\nI just don no how to use webhook in my C# program,\r\nbefore this certificate parameter I was working with getupdate.\r\n\r\nThanks..."},"comment":{"url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/comments/143691743","html_url":"https://github.com/MrRoundRobin/telegram.bot/issues/39#issuecomment-143691743","issue_url":"https://api.github.com/repos/MrRoundRobin/telegram.bot/issues/39","id":143691743,"user":{"login":"blacksagres","id":11443218,"avatar_url":"https://avatars.githubusercontent.com/u/11443218?v=3","gravatar_id":"","url":"https://api.github.com/users/blacksagres","html_url":"https://github.com/blacksagres","followers_url":"https://api.github.com/users/blacksagres/followers","following_url":"https://api.github.com/users/blacksagres/following{/other_user}","gists_url":"https://api.github.com/users/blacksagres/gists{/gist_id}","starred_url":"https://api.github.com/users/blacksagres/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blacksagres/subscriptions","organizations_url":"https://api.github.com/users/blacksagres/orgs","repos_url":"https://api.github.com/users/blacksagres/repos","events_url":"https://api.github.com/users/blacksagres/events{/privacy}","received_events_url":"https://api.github.com/users/blacksagres/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T09:38:10Z","updated_at":"2015-09-28T09:38:10Z","body":"@ScottRFrost did you get the webhook to work on your side? I've tried following the example on [7ceaade](https://github.com/MrRoundRobin/telegram.bot/commit/7ceaade58be7f4df9f6f561cbed499c5a8453373), but so far I can only reach my Post with REST testing.\r\n\r\n@MrRoundRobin I've followed the example using my web application, the code below is on my Application_Start method on the Global.asax.cs. On the Post method in my controller I've done the same thing on your example but no success.\r\n\r\n```\r\nvoid Application_Start(object sender, EventArgs e) {\r\n      // Code that runs on application startup\r\n      AreaRegistration.RegisterAllAreas();\r\n      GlobalConfiguration.Configure(WebApiConfig.Register);\r\n      RouteConfig.RegisterRoutes(RouteTable.Routes);\r\n      // Setting up webhook\r\n      Telegram.Bot.Api bot = new Telegram.Bot.Api(\"mytoken\");\r\n      bot.SetWebhook(\"https://myhost:8443/api/webhook\").Wait();\r\n}\r\n```\r\n\r\nIf this information is relevant, my application is hosted on godaddy using a self-signed certificate."}}