Apologies if this was unclear, @bobbybouwmann
I was trying to go off of this, which demonstrated you could use @username. Though in the Laravel Docs it just states
to->('#other')
https://github.com/gpressutto5/laravel-slack
https://laravel.com/docs/7.x/notifications#slack-notifications
However, you are correct that what seems to be the current situation is that you need to know the user's ID in order to put
to->(@userID)
My question is how do people currently utilize this? Do they just go through individually and note all the user's IDs and log them locally into their own database? Do they somehow pull all those IDs in some sort of call to Slack?
What I would like to do is the following. I have worked through some of the Laracast notification systems, and I would like to have it so that if someone is "subscribed" to a case, that if that case gets a new reply they receive a direct message on the Slack system. I know that its possible if I have their UserID, but what if I have an open website, and an open slack team where I may have people joining at a large scale and so how do I gather all of those userIds from slack and match them up to user's on the website
Does that shine more light on the situation?