Open thaarsoft opened 4 years ago
I have pull down the latest master class and use after deleting .dat file in bin folder.
i have uploded the code and i am getting error at line#29.
@thaarsoft sorry for the late reply, I'm really surprised this could happen, I wish I could reproduce this problem so I could fix it myself 🤔
I got exception for migration. i am attaching the stack track
System.Exception: Telegram server replied requesting a migration to DataCenter 5 when this connection was already using this DataCenter ---> TLSharp.Core.Network.Exceptions.PhoneMigrationException: Phone number registered to a different DC: 5. See: https://github.com/sochix/TLSharp#i-get-a-xxxmigrationexception-or-a-migrate_x-error at TLSharp.Core.Network.MtProtoSender.HandleRpcResult(UInt64 messageId, Int32 sequence, BinaryReader messageReader, TLMethod request) at TLSharp.Core.Network.MtProtoSender.processMessage(UInt64 messageId, Int32 sequence, BinaryReader messageReader, TLMethod request) at TLSharp.Core.Network.MtProtoSender.d8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at TLSharp.Core.TelegramClient.d 12.MoveNext()
--- End of inner exception stack trace ---
at TLSharp.Core.TelegramClient.d12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at TLSharp.Core.TelegramClient.d 15.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at WindowsFormsApp1.Form1.d__9.MoveNext() in C:\Freelancer\Products\Telegram\WindowsFormsApp1\WindowsFormsApp1\Form1.cs:line 149