Skip to content
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

Add support for team_id in UserGroup functions #1179

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tenyo
Copy link

@tenyo tenyo commented Mar 2, 2023

This PR adds support for team_id in all of the usergroups functions, so they can work in Slack Enterprise Grid with multiple workspaces. For reference see https://api.slack.com/enterprise/apps/changes-apis#methods

I tried to stick to the established pattern of using Options variadic parameters to pass the team_id (together with other optional arguments). I don't think the changes affect existing clients using a single workspace.
I've tested all modified functions against the Slack API in an Enterprise Grid instance.

@tenyo
Copy link
Author

tenyo commented Apr 27, 2023

Hi there 👋 How can we get the Github tests to run here?

lfventura added a commit to lfventura/slack-go that referenced this pull request May 26, 2023
lfventura added a commit to lfventura/slack-go that referenced this pull request May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants