Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

Is there a user "seen?" command?

$
0
0

Hi @xurizaemon, are you just looking for a way to get the last time the user's status was online? Or are you looking to be able to see if a user has read messages in a channel?

If you're looking for the last time the user's status was online, we currently don't expose that but we would welcome a pull request to add an API to get a single user's status (which includes last activity time).

If you're looking to see if a user has read messages in a channel, there's currently no good way to do this but in the next release there will be a couple APIs you can use:

  1. There will be an API to get a single channel member which will contain the number of messages the user has read in a channel. You could compare that to the messages actually in the channel and to tell if the user has seen the messages.
  2. The channel member object will also have a last_viewed_at field which show the last time the user read a message on that channel.

Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>