mtproto-core icon indicating copy to clipboard operation
mtproto-core copied to clipboard

How to see if a user has read the message

Open TheRyan1 opened this issue 3 years ago • 0 comments

Describe the bug

When using messages.getDialogs, There is a property called unread_count.. That is always zero. How would you get the information on whether or not a user has read the message?

Code example

const dialogs = await this.call('messages.getDialogs',{ offset_peer: { _: "inputUserSelf", } }); return dialogs;

Expected behavior The unread_count to change if the user has read the message

Context:

  • Library environment: node
  • Library version: "6.1.0"
  • Node version (if node environment): 16.13.2

TheRyan1 avatar Jan 21 '22 01:01 TheRyan1