Failed to parse JSON object as TDLib request: Unknown class "updateOption"
See original GitHub issueHi I download current source and add tdlib.native package from nuget to TDLib.Samples.GetChats project, update ApId and ApiHash and PhoneNumber, then run. after few moments exception occurred.
TdLib.TdException: 'Failed to parse JSON object as TDLib request: Unknown class "updateOption"'
latest line of output:
'TDLib.Samples.GetChats.exe' (CoreCLR: clrhost): Loaded 'Anonymously Hosted DynamicMethods Assembly'.
Exception thrown: 'TdLib.TdException' in System.Private.CoreLib.dll
An exception of type 'TdLib.TdException' occurred in System.Private.CoreLib.dll but was not handled in user code
Failed to parse JSON object as TDLib request: Unknown class "updateOption
image : https://ibb.co/6RY8bs0
Issue Analytics
- State:
- Created 4 years ago
- Reactions:9
- Comments:15
Top Results From Across the Web
Failed to parse JSON object as TDLib request: Unknown ...
Hi. I want registre user. I found in documentation this class. registerUser Class Referencefinal Inherits Function.
Read more >Failed to Parse JSON [closed]
This is a very error prone way to create JSON. Instead, create a POJO and use Gson or Jackson to convert it to...
Read more >tdlib
Telegram Tdlib is a complete library for creating telegram clients, it also has a simple tdjson ready-to-use library to ease the integration ...
Read more >MessageSendingStateFailed class - td_api library - Dart API
API docs for the MessageSendingStateFailed class from the td_api library, for the Dart programming language.
Read more >tdlibjson | OpenRepos.net — Community Repository System
a JSON-encoded string and `JsonValue` TDLib API class. * Added the methods `getApplicationConfig` and `saveApplicationLogEvent` to be used for ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, after several hours of searching, I understand that we do not need to install the options that come by update. I got a few new errors before I realized it. Here’s the timeline:
I checked the documentation and it is not written anywhere in the need to set options after getting the event. And in the examples, it is often ignored in general. Solution: do not set the options that came for the event updateoption
Hi. I have the same problem. I am compile 1.7 tdlib and generate new classes with your code generator, but the problem was not solved. Another functions works correctly. This happens when I try to run your sample project. If I comment “setOption”, everything works fine