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

Support for user groups?

Open tony-johnson opened this issue 8 years ago • 3 comments

Hi, there does not appear to be any support for user groups:

https://api.slack.com/methods/usergroups.list

in the simple-slack-api. Unless I missed it somewhere? If not has anybody added support for this?

tony-johnson avatar Sep 05 '16 16:09 tony-johnson

It is not yet supported but please note that bot users don't have access to group member list (as described here : https://api.slack.com/methods/usergroups.users.list ) . So you'll have to use a true user token to use effectivety benefits from user groups

bcorne avatar Sep 05 '16 16:09 bcorne

Yes, thanks, I just discovered the limitations on bots access to user groups. Has there been any discussion anywhere on why bots can not access user groups -- it seems like an arbitrary and illogical limitation?

tony-johnson avatar Sep 05 '16 20:09 tony-johnson

That's up to Slack but you can still use a standad account token to be able to use user groups features

bcorne avatar Oct 02 '16 21:10 bcorne