Standard Apex Response Methods
The Apex response classes include standard response methods for Slack's Web API methods. These response methods are indicated on the Apex response classes that support them.
Gets the error on the response. See the corresponding Slack method's list of errors, for example, calls.add method’s list of errors.
Signature
Return Value
Type: String
Signature
Return Value
Type: Map<String,List
Signature
Return Value
Type: String
Signature
Return Value
Type: String
Gets the warning on the response. See the corresponding Slack method's list of errors, for example, calls.add method’s list of warnings.
Signature
Return Value
Type: String
Specifies whether the API call is successful.
Signature
Return Value
Type: Boolean
Signature
Return Value
Type: Boolean
Sets the error message in the response.
Signature
Parameters
error
Type: String
Return Value
Type: void
Signature
Parameters
error
Type: Map<String,List
Return Value
Type: void
Signature
Parameters
needed
Type: String
Return Value
Type: void
Specifies whether the API call is successful.
Signature
Parameters
ok
Type: Boolean
Return Value
Type: void
Signature
Parameters
provided
Type: String
Return Value
Type: void
Signature
Parameters
snoozeIsIndefinite
Type: Boolean
Return Value
Type: void
Sets the warning message in the response.
Signature
Parameters
warning
Type: String
Return Value
Type: void