-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ChannelHistoryModule always get blank #49
Comments
Hi, I should add some example on how to use it. But are you using a bot token or a full user token? Slack is not allowing bots to fetch history of channels, this might be the reason it is not working in your case. Best regards, Benoit |
Hi Benoit, Some examples would be really helpful. I'm using a bot token and able to do it in python via the python slacker wrapper api. But this java api seems to much more rich with features and wanted to migrate over. If bot tokens can't do it, a full user token would still be helpful. |
Hi,
I can't confirm that. We are using bots to do just that: fetch the history of (public) channels. @andrew Regards, |
Thanks for the suggestions. Ok, so I got it down to 2 cases:
is this a configuration issue? or some sort of feature? also, related, is there a way to get IM history of the bot? |
I'm working on this now |
ok, I've identified the issue, I confirm that this is only working fine for public channel, the issue beinf that the command to send to slack is different for private channels, I'll fix that soon then |
fixed with last commit |
Are there any examples with the Channel History? I tried to use both the channel name and channel id, but get nothing back.
I'm trying to do the following, but get an empty list every time:
The text was updated successfully, but these errors were encountered: