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.
This PR adds support for
team_id
in all of theusergroups
functions, so they can work in Slack Enterprise Grid with multiple workspaces. For reference see https://api.slack.com/enterprise/apps/changes-apis#methodsI 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.