Skip to content

Conversation

@melix99
Copy link
Collaborator

@melix99 melix99 commented Feb 23, 2023

Fixes #73.
Supersedes #286.

  • Implement SponsoredMessage handling
  • Notify about opened chats too and remove the "force_read" param in "view_messages"
  • Test extensively
  • Explain the little hackyness (e.g. the delay)
  • Remove debug calls

This is needed for vairous things, like ensuring that the message cache
is handled correctly (tdlib can remove old messages from the cache for
us) and to also get additional updates, which we'll surely need at some
point.
We finally handle chat opening/closing and we also track visible
messages, so this should be enough for a complete correct message cache
management.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tell TDLib when unread messages are being read by the user

2 participants