I need to notify my users when a message has been sent to a group channel they are belong to when they are offline. I’d like to confirm that, at a high-level, this is what I need:
Send an email or SMS (via a different system) to those users who are not online.
Are there different webhooks or endpoints I should be using to make this easier? For instance, is there an ‘unread message’ webhook? Thanks in advance!
I assume based on the path you’re taking that you’re not developing this on a mobile platform. If that is the case, webhooks would be your best bet. You can enable member data on the webhook which contains the users online status as well as the number of unread messages. It looks like this: