Work with Migration Exchange
The following are Apex classes for the Slack migration.exchange API method.
For Enterprise Grid workspaces, sends a request to map local user IDs to global user IDs.
The following are methods for MigrationExchangeRequest.
Builds a request object that's used when executing the API call.
Signature
Return Value
Type: Slack.MigrationExchangeRequest.Builder
Contains methods to build an instance of the Slack.MigrationExchangeRequest class.
A Builder object is obtained by invoking one of the MigrationExchangeRequest.Builder methods defined by the MigrationExchangeRequest class.
The following are methods for MigrationExchangeRequest.Builder. These methods are optional unless specified otherwise.
Required. Returns an instance of Slack.MigrationExchangeRequest.
Signature
Return Value
Type: Slack.MigrationExchangeRequest
Signature
Parameters
teamId
Type: String
Return Value
Type: Slack.MigrationExchangeRequest.Builder
Signature
Parameters
toOld
Type: Boolean
Return Value
Type: Slack.MigrationExchangeRequest.Builder
Required. A comma-separated list of user IDs, up to 400 per request.
Signature
Parameters
users
Type: List<String>
For Enterprise Grid workspaces, map local user IDs to global user IDs.
This class contains standard response methods.
The following are methods for MigrationExchangeResponse.
Signature
Return Value
Type: String
Signature
Return Value
Type: List<String>
Signature
Return Value
Type: String