Closed Fra078 closed 1 year ago
TDLib has only partial support for topics for now. All server-side methods for fetching data about topics are available, but updates about changes of the data aren't implemented yet. There should be added about 12 new updates about data changes, but it is impossible to add them without correct local implementation of message list for topics instead of the currently used server-side requests.
The unread count for forums should be the total unread count of the last 20 topics, but this also isn't implemented in TDLib and the ordinary unread count for "View as messages" mode is returned in unread_count
. This also can't be correctly implemented without maintaining local unread counters for topics.
What is the supposed way to handle topics? Should I listen to some update to maintain a list of topics? And also I noticed that messages unread count of topics and of the entire forum is often wrong