slack-bot-api icon indicating copy to clipboard operation
slack-bot-api copied to clipboard

Need implementation to send to user by user_id, from bot, not by slackbot

Open ans-4175 opened this issue 8 years ago • 1 comments

Where postMessageToUser(name, message [, params, callback]) (return: promise) - posts a direct message by user name I need to implement somekind like postMessageToUserId(user_id, message [, params, callback]) (return: promise) - posts a direct message by user id

But postMessage(id, text, params) sent as slackbot, not as current bot. Can we have it implemented?

ans-4175 avatar Oct 25 '16 03:10 ans-4175

I make PR for this, kindly check for it https://github.com/mishk0/slack-bot-api/pull/53 ?

ans-4175 avatar Oct 25 '16 05:10 ans-4175