Skip to main content

SlackCommandService

A list of all methods in the SlackCommandService service. Click on the method name to view detailed information about that method.

MethodsDescription
slackCommandReceives slash commands initiated from the Abbey Slack App

slackCommand

Receives slash commands initiated from the Abbey Slack App

  • HTTP Method: POST
  • Endpoint: /slackcommands

Parameters

NameTypeRequiredDescription
inputObjectRequest 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);
}