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:
- An endpoint listening to the group_channel:message_send webhook
- When a webhook is received at the above endpoint, get each user and check if they are online
- 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!