Hi,
I cant find a way to retrieve the number of private group channels joined by the connected user since they were last online. I tried to look for a user.invitedOn
or something similar with no success.
The only solution I can think of is to :
- one channel at the time, retrieve all the messages
- if at least one message is from connected user => not a new channel
- if all messages are from other users and unread count is 0 => not a new channel
- if all messages are from other users and unread count > 0 => new channel
However, this is a double loop that would like to avoid.
Is there a simpler way to do this with Sendbird?