I created a Slack app with a bot. I got the OAuth process working. The user completes OAuth process and I get both the regular token and bot token along with user_id.
When I try to send a api/chat.postMessage with bot token and channel = user_id that I received from OAuth, a message is created under "Slackbot".
How do I send a direct message to the user who authorized the OAuth? I want it under the (you) private/personal DM space.
Edit:
im.open creates a new channel between the bot and the authorized user. It does NOT post the message directly in the user's (you) private space.