SlackCommandService
A list of all methods in the SlackCommandService service. Click on the method name to view detailed information about that method.
| Methods | Description |
|---|---|
| slackCommand | Receives slash commands initiated from the Abbey Slack App |
slackCommand
Receives slash commands initiated from the Abbey Slack App
- HTTP Method:
POST - Endpoint:
/slackcommands
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| input | Object | ✅ | Request Body |
Return Type
OauthListing
Example Usage Code Snippet
import com.swagger.petstore.TestSdk;
import com.swagger.petstore.config.TestSdkConfig;
import com.swagger.petstore.models.OauthListing;
fun main() {
val config: TestSdkConfig = TestSdkConfig.builder()
.accessToken("YOUR_ACCESS_TOKEN")
.build();
val testSdk: TestSdk = TestSdk(config);
val response: OauthListing = testSdk.slackCommand.slackCommand(Object());
println(response);
}