{"action":"created","issue":{"url":"https://api.github.com/repos/luckydonald/pytg/issues/73","repository_url":"https://api.github.com/repos/luckydonald/pytg","labels_url":"https://api.github.com/repos/luckydonald/pytg/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/luckydonald/pytg/issues/73/comments","events_url":"https://api.github.com/repos/luckydonald/pytg/issues/73/events","html_url":"https://github.com/luckydonald/pytg/issues/73","id":138892147,"number":73,"title":"Initialize Telegram Account (enter phone number & code)","user":{"login":"drr3d","id":6335497,"avatar_url":"https://avatars.githubusercontent.com/u/6335497?v=3","gravatar_id":"","url":"https://api.github.com/users/drr3d","html_url":"https://github.com/drr3d","followers_url":"https://api.github.com/users/drr3d/followers","following_url":"https://api.github.com/users/drr3d/following{/other_user}","gists_url":"https://api.github.com/users/drr3d/gists{/gist_id}","starred_url":"https://api.github.com/users/drr3d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drr3d/subscriptions","organizations_url":"https://api.github.com/users/drr3d/orgs","repos_url":"https://api.github.com/users/drr3d/repos","events_url":"https://api.github.com/users/drr3d/events{/privacy}","received_events_url":"https://api.github.com/users/drr3d/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/luckydonald/pytg/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/luckydonald/pytg/labels/pull%20requests%20welcome","name":"pull requests welcome","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2016-03-07T05:33:20Z","updated_at":"2016-04-01T10:28:24Z","closed_at":null,"body":"Hi there again Donald :+1: \r\n\r\nFirst, i'm sorry this is not really an issues, if you mind, i can move this post into another page(please give me a page to ask this question :smile: )\r\n\r\ni still enjoying your works, thanks again.. :smile:\r\n\r\ni have a some questions, regarding additional new account,\r\n\r\nWhenever i try to initiate a new account/number/profile directly using Telegram-CLI, it always give some instruction, that require us to provide some information's, like phone number(usually after this Telegram would send us password to fill in Telegram-CLI), etc.\r\n\r\nlike the image below:\r\n![pytg](https://cloud.githubusercontent.com/assets/6335497/13561364/d6352b62-e45e-11e5-95b5-d04ec80197d5.png)\r\n\r\nis there any function that pytg can handle such task?\r\n\r\nif no, is there a way i can do such task by modifying your module? without directly using Telegram-CLI?\r\n\r\nsorry again for my bad English :smile:\r\n\r\nRegards,\r\ndrr3d"},"comment":{"url":"https://api.github.com/repos/luckydonald/pytg/issues/comments/204341913","html_url":"https://github.com/luckydonald/pytg/issues/73#issuecomment-204341913","issue_url":"https://api.github.com/repos/luckydonald/pytg/issues/73","id":204341913,"user":{"login":"Nanoseb","id":10603482,"avatar_url":"https://avatars.githubusercontent.com/u/10603482?v=3","gravatar_id":"","url":"https://api.github.com/users/Nanoseb","html_url":"https://github.com/Nanoseb","followers_url":"https://api.github.com/users/Nanoseb/followers","following_url":"https://api.github.com/users/Nanoseb/following{/other_user}","gists_url":"https://api.github.com/users/Nanoseb/gists{/gist_id}","starred_url":"https://api.github.com/users/Nanoseb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nanoseb/subscriptions","organizations_url":"https://api.github.com/users/Nanoseb/orgs","repos_url":"https://api.github.com/users/Nanoseb/repos","events_url":"https://api.github.com/users/Nanoseb/events{/privacy}","received_events_url":"https://api.github.com/users/Nanoseb/received_events","type":"User","site_admin":false},"created_at":"2016-04-01T10:28:24Z","updated_at":"2016-04-01T10:28:24Z","body":"That the only thing I can think of right is looking if .telegram-cli/auth is empty or not, it is not perfect but it is the best we can do without modifying telegram-cli.\r\nThe other one would be to see if telegram-cli is asking for a phone number, but it would be even worse (every run you have to wait to see if 'phone number:' is prompt or not)."}}