{"action":"created","issue":{"url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/4748","repository_url":"https://api.github.com/repos/telegramdesktop/tdesktop","labels_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/4748/labels{/name}","comments_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/4748/comments","events_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/4748/events","html_url":"https://github.com/telegramdesktop/tdesktop/issues/4748","id":326858658,"number":4748,"title":"open tg links directly by telegram app in windows","user":{"login":"ShariatPanah","id":32509267,"avatar_url":"https://avatars2.githubusercontent.com/u/32509267?v=4","gravatar_id":"","url":"https://api.github.com/users/ShariatPanah","html_url":"https://github.com/ShariatPanah","followers_url":"https://api.github.com/users/ShariatPanah/followers","following_url":"https://api.github.com/users/ShariatPanah/following{/other_user}","gists_url":"https://api.github.com/users/ShariatPanah/gists{/gist_id}","starred_url":"https://api.github.com/users/ShariatPanah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShariatPanah/subscriptions","organizations_url":"https://api.github.com/users/ShariatPanah/orgs","repos_url":"https://api.github.com/users/ShariatPanah/repos","events_url":"https://api.github.com/users/ShariatPanah/events{/privacy}","received_events_url":"https://api.github.com/users/ShariatPanah/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-05-27T23:03:42Z","updated_at":"2018-05-28T05:53:04Z","closed_at":null,"author_association":"NONE","body":"hey guys, I'm automating some telegram stuff in Windows, though I was wonder if it's possible to open tg links directly in telegram client rather than first open by browser and then by telegram, all programmatically?\r\n\r\nI'm coding in visual studio with C#, opening telegram can be done by the following code:\r\nSystem.Diagnostics.Process.Start(\"TelegramPath\\\\Telegram.exe\", arguments);\r\n\r\nfor arguments parameter I tried \"t.me//chatUsername\" and \"tg://resolver?domain=chatUsername\" etc... the Telegram client app is being opened but there is no an appropriate chat opened\r\n\r\nany suggestions would be appreciated."},"comment":{"url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/comments/392426323","html_url":"https://github.com/telegramdesktop/tdesktop/issues/4748#issuecomment-392426323","issue_url":"https://api.github.com/repos/telegramdesktop/tdesktop/issues/4748","id":392426323,"user":{"login":"john-preston","id":17900494,"avatar_url":"https://avatars1.githubusercontent.com/u/17900494?v=4","gravatar_id":"","url":"https://api.github.com/users/john-preston","html_url":"https://github.com/john-preston","followers_url":"https://api.github.com/users/john-preston/followers","following_url":"https://api.github.com/users/john-preston/following{/other_user}","gists_url":"https://api.github.com/users/john-preston/gists{/gist_id}","starred_url":"https://api.github.com/users/john-preston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-preston/subscriptions","organizations_url":"https://api.github.com/users/john-preston/orgs","repos_url":"https://api.github.com/users/john-preston/repos","events_url":"https://api.github.com/users/john-preston/events{/privacy}","received_events_url":"https://api.github.com/users/john-preston/received_events","type":"User","site_admin":false},"created_at":"2018-05-28T05:53:04Z","updated_at":"2018-05-28T05:53:04Z","author_association":"MEMBER","body":"@ShariatPanah I tried to run:\n\nTelegram.exe — tg://resolve?domain=preston\n\nfrom CMD and it launched the app and opened the requested chat."}}
{"actor":{"display_login":"john-preston"}}