{"action":"created","issue":{"url":"https://api.github.com/repos/vysheng/tg/issues/396","labels_url":"https://api.github.com/repos/vysheng/tg/issues/396/labels{/name}","comments_url":"https://api.github.com/repos/vysheng/tg/issues/396/comments","events_url":"https://api.github.com/repos/vysheng/tg/issues/396/events","html_url":"https://github.com/vysheng/tg/issues/396","id":54657690,"number":396,"title":"Multiple accounts or from number","user":{"login":"anishmenon","id":3235476,"avatar_url":"https://avatars.githubusercontent.com/u/3235476?v=3","gravatar_id":"","url":"https://api.github.com/users/anishmenon","html_url":"https://github.com/anishmenon","followers_url":"https://api.github.com/users/anishmenon/followers","following_url":"https://api.github.com/users/anishmenon/following{/other_user}","gists_url":"https://api.github.com/users/anishmenon/gists{/gist_id}","starred_url":"https://api.github.com/users/anishmenon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anishmenon/subscriptions","organizations_url":"https://api.github.com/users/anishmenon/orgs","repos_url":"https://api.github.com/users/anishmenon/repos","events_url":"https://api.github.com/users/anishmenon/events{/privacy}","received_events_url":"https://api.github.com/users/anishmenon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-17T10:21:11Z","updated_at":"2015-01-17T12:33:46Z","closed_at":null,"body":"How can i run telegram instance from multiple numbers\r\n\r\n/bin/telegram-cli -k tg-server.pub\r\n\r\nuses one of the registered number . But is there any tweak to switch to another from_number ? . i'm using Ubuntu"},"comment":{"url":"https://api.github.com/repos/vysheng/tg/issues/comments/70365415","html_url":"https://github.com/vysheng/tg/issues/396#issuecomment-70365415","issue_url":"https://api.github.com/repos/vysheng/tg/issues/396","id":70365415,"user":{"login":"danielberlin","id":9253844,"avatar_url":"https://avatars.githubusercontent.com/u/9253844?v=3","gravatar_id":"","url":"https://api.github.com/users/danielberlin","html_url":"https://github.com/danielberlin","followers_url":"https://api.github.com/users/danielberlin/followers","following_url":"https://api.github.com/users/danielberlin/following{/other_user}","gists_url":"https://api.github.com/users/danielberlin/gists{/gist_id}","starred_url":"https://api.github.com/users/danielberlin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielberlin/subscriptions","organizations_url":"https://api.github.com/users/danielberlin/orgs","repos_url":"https://api.github.com/users/danielberlin/repos","events_url":"https://api.github.com/users/danielberlin/events{/privacy}","received_events_url":"https://api.github.com/users/danielberlin/received_events","type":"User","site_admin":false},"created_at":"2015-01-17T12:33:46Z","updated_at":"2015-01-17T12:33:46Z","body":"Configure profiles as shown in filee ```config.sample``` (but don't use binlog). For each number, you need an identical profile subfolder. Then run it with\r\n\r\n```telegram-cli -p profile2```\r\n\r\nYou can omit ```-k server.pub``` if you put the key in ```/etc/telegram-cli/server.pub```.\r\n"}}