-
Notifications
You must be signed in to change notification settings - Fork 61
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
updateChatMessageTtl
is not implemented and resulted in exception thrown
#167
Comments
Any idea what exactly is this message? I cannot find it in |
In fact, it is only mentioned in an old changelog (from 1.8.0, 2021-12-29), and nowhere else. Are you sure it exists? Under what circumstances do you receive that? |
When I was running the C# sample I'm only getting error on one of my accounts. But not on the other. |
Why do you think that's |
I would recommend opening an issue upstream. There is no such type in the actual tdlib sources, and I don't understand how we should generate it. |
These links look identical. And, unfortunately, no, it does not help. There are still no any details about this class in the |
Sorry, the 2nd link supposed to be td_api.h Perhaps, that class has been removed from the API but the server is still sending it. Is it possible to ignore unrecognised API and logs them instead of throwing unhandled exceptions and killing the client? |
On this, I unfortunately have no idea. This is a question for upstream developers.
But we are doing that already. An (Also, I found that the exception is not even exposed anywhere, I'll create an improvement request for that matter.) Do you suggest some other behavior? |
You're right, there's no unhandled exception. I was only receiving that during debugging. It's not really an issue then. I'll proceed to close this issue. Thanks for your time looking into this. |
updateChatMessageTtl
is not implemented and when received from Telegram will result in an exception thrown.tdsharp/TdLib/Bindings/Receiver.cs
Lines 43 to 69 in 9bebcfa
This is because on line
54
, the deserialization will fallback toTdApi.Object
if the type is not found.tdsharp/TdLib.Api/Object.cs
Lines 10 to 15 in 9bebcfa
And
TdApi.Object
is abstract. No deserialization can be performed on abstract class.The text was updated successfully, but these errors were encountered: