mirror of
https://github.com/sochix/TLSharp.git
synced 2026-04-05 14:37:04 +00:00
fix step 3
This commit is contained in:
parent
798827aecd
commit
f64abc83ea
3 changed files with 30 additions and 15 deletions
|
|
@ -48,7 +48,7 @@ namespace ClientConsoleApp
|
|||
int ApiId = int.Parse(ConfigurationManager.AppSettings["ApiId"]);
|
||||
//string AuthCode = ConfigurationManager.AppSettings["AuthCode"];
|
||||
string MainPhoneNumber = ConfigurationManager.AppSettings["NumberToAuthenticate"];
|
||||
var client = new TelegramClient(ApiId, ApiHash, null, "session", null, "127.0.0.1", 5000);
|
||||
var client = new TelegramClient(ApiId, ApiHash);//, null, "session", null, "127.0.0.1", 5000
|
||||
var phoneCodeHash = string.Empty;
|
||||
authenticated:
|
||||
Console.WriteLine("Start app");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue