This repository has been archived by the owner on Sep 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Slack's users.lookupByEmail API is not available #1278
Labels
Comments
How are you trying to call it? Can you post what code you tried that is not working? |
Thank you, I did it just in a console on IntelliJ break point. I'll try it in a code later. |
@peterswimm It is something like this import Botkit from 'botkit';
const controller = Botkit.slackbot({
debug: true,
scopes: ['bot', 'users:read.email'],
});
const bot = controller.spawn({
token: process.env.token
}).startRTM();
controller.hears('hello', ['direct_message', 'direct_mention', 'mention'], (bot, message: Message) => {
bot.api.users.lookupByEmail({email: '[email protected]'}, function (err, response) {
console.log(response);
});
}); And I got this
|
piglovesyou
added a commit
to piglovesyou/botkit
that referenced
this issue
Mar 13, 2018
@piglovesyou Please open this as a PR. |
This was referenced Dec 6, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The doc says "it may call any of these methods" but users.lookupByEmail is not available.
How can I report this or where I can see progress of API support?
The text was updated successfully, but these errors were encountered: