JSON export produces very dynamic JSON
Steps to reproduce
- Open any chat.
- Do "Chat export" in JSON format.
- Open JSON.
- See very dynamic type in
textfield for messages.
Expected behaviour
I expected see static string or array with objects only, what can be parsed without any issues on .NET via JSON.NET.
It requires declare types for every field in classes, but i can't describe type without scratches.
Actual behaviour
text can be two different types:
string, if message don't contains any message entities (bold/italic markup and etc.)arraywith mixed types (stringandobject)
Operating system
Windows 11
Version of Telegram Desktop
4.1.1
Installation source
Static binary from official website
Logs
No response
Please check the latest beta version.
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.