When creating a slack app, it creates a "channel" under the Apps header on the left hand menu. I want to be able to private message users within this from my bot / app rather than creating a new channel or messaging the user via slack bot.
The following direct messages the user via slack bot
curl -X POST "https://slack.com/api/chat.postMessage" -H "accept: application/json" -d token=TOKEN -d channel=abc123 - d text=Hello
Or this messages all users in the workspace who have enabled the App via the apps own channel
curl -X POST -H 'Content-type: application/json' --data '{"text":"Hello, World!"}' https://hooks.slack.com/services/ABXXX/CDXXX/EFXXXX
I want a combo of these where I message 1 user via the apps own channel
An example of this is how Pull Reminders app works. All users in a workspace can use the app but when a pull request gets assigned to a user, only the user in question gets notified via the apps channel.