I have a bot and through chat.postMessage endpoint, I'm able to send message to a channel. I'm also about to retrieve the list of users in slack using users.list. I'm trying to 'get' the list of users and then send a slack message to a particular user (who's not a bot). chat.postMessage
accepts only channel (id) as input (that starts with C) but not user id (that starts with U).
How do I achieve this?