-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
InvalidOperationException: UPDATE_APP_TO_LOGIN #55
Comments
Telegram updated: TgSharp only support layer - 108. |
We need to update TgSharp layer-133 |
Dear author of the library, should you expect a solution or decide for yourself? thanks |
Hi guys, This caused some trouble with missing references and unreqocnized objects but i just outcommented those. In my project (which references these files) i needed to change several things too. Mainly the channel ID props as well as replyToId which is changed a bit. Should you want to check and try this, this is the zipfile containing the files. This seems to work for us. Hope this get you guys started. |
@PhilAsCoder |
Hi, The TgSharp.TL builds the TL dll while the TgSharp.Core builds both since the Core depends upon the TL. Perhaps you have used some function(s) in the old build which are no longer supported? |
@PhilAsCoder |
@PhilAsCoder How did you calculate constructor number for some classes which inherits TLObject ?? |
No i used the original TGsharp library which was presented here at the beginning and just updated the TL layer (which TgSharp uses) so no methods were missing in my case |
I didnt, all i did was use the TLGenerator exe which is inside the project, downloaded the latest Telegram Json file and then it outputted the TL objects. |
@PhilAsCoder, not work for me, but ty |
@PhilAsCoder Where I can find TLgenerator? |
@vuminhit its under the TgSharp project |
Hello @jamesjsc , Yes for us it solved the issue posted here at the top of the page by the OP. So yes, this issue was solved by using this approach using the dlls I did post above. Take care |
Hello @PhilAsCoder, |
Hello @archnguyen27 , Yes the TL code i posted in the zip was generated by using the latest Telegram json file, so its based on version 133 from memory. |
hi I'm using this Lib but I'm getting the error "Flood prevention. Telegram now requires your program to make a request again only after 49649 seconds have elapsed (TimeToWait property). If you think the cause of this issue might lie in the TgSharp implementation, please go to Github issues. " when registering a new phone number, other functions work normally, but registration function does not work, do you know how to avoid this error? can i contact you on telegram? |
@PhilAsCoder Thanks you so much. You save me :D |
This is the exception thrown when calling
SendCodeRequestAsync
It is because Telegram forced all clients to use 64 bit identifier. Yet there is no such good library for c# as TgSharp (TLSharp) is and also unfortunately this library is not useable after this update of telegram. I DO ASK you to provide 64 bit identifiers for this powerful library. thank you.
Here is the stack trace:
The text was updated successfully, but these errors were encountered: