I successfully integrated with TLSharp libarary and tested serveral times. However, after running my app 3-4 times, then I get 'FloodException'. I don't think I requested too many times.
Below is the exception I got. Do you know why this happens?
TLSharp.Core.Network.FloodException: Flood prevention. Telegram now requires your program to do requests again only after 74249 seconds have passed (TimeToWait property). If you think the culprit of this problem may lie in TLSharp's implementation, open a Github issue please.
위치: TLSharp.Core.Network.MtProtoSender.HandleRpcResult(UInt64 messageId, Int32 sequence, BinaryReader messageReader, TLMethod request)
위치: TLSharp.Core.Network.MtProtoSender.processMessage(UInt64 messageId, Int32 sequence, BinaryReader messageReader, TLMethod request)
위치: TLSharp.Core.Network.MtProtoSender.d8.MoveNext()
--- 예외가 throw된 이전 위치의 스택 추적 끝 ---
위치: System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
위치: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
위치: System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
위치: TLSharp.Core.TelegramClient.d11.MoveNext()
--- 예외가 throw된 이전 위치의 스택 추적 끝 ---
위치: System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
위치: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
위치: System.Runtime.CompilerServices.TaskAwaiter.GetResult()
위치: TLSharp.Core.TelegramClient.d14.MoveNext()
--- 예외가 throw된 이전 위치의 스택 추적 끝 ---
위치: System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
위치: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
위치: System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
위치: SV_Leave.d29.MoveNext() 파일 C:\Work\MCProj\Leave2\Leave2\SV_Leave.cs:줄 86
--- 예외가 throw된 이전 위치의 스택 추적 끝 ---
위치: System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
위치: System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
위치: System.Runtime.CompilerServices.TaskAwaiter.GetResult()
위치: SV_Leave.d28.MoveNext() 파일 C:\Work\MCProj\Leave2\Leave2\SV_Leave.cs:줄 81
--- 예외가 throw된 이전 위치의 스택 추적 끝 ---
위치: System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b6_0(Object state)
I successfully integrated with TLSharp libarary and tested serveral times. However, after running my app 3-4 times, then I get 'FloodException'. I don't think I requested too many times.
Below is the exception I got. Do you know why this happens?