public class Slack extends Object
https://{your team name}.slack.com/apps/manage/custom-integrations
| Constructor and Description |
|---|
Slack() |
| Modifier and Type | Method and Description |
|---|---|
static Slack |
getInstance() |
static Slack |
getInstance(SlackHttpClient httpClient) |
MethodsClient |
methods()
Creates a Methods API client.
|
RTMClient |
rtm(String apiToken)
Creates an RTM API client.
|
WebhookResponse |
send(String url,
Payload payload)
Send a data to Incoming Webhook endpoint.
|
Shortcut |
shortcut() |
Shortcut |
shortcut(ApiToken apiToken) |
public static Slack getInstance()
public static Slack getInstance(SlackHttpClient httpClient)
public WebhookResponse send(String url, Payload payload) throws IOException
IOExceptionpublic RTMClient rtm(String apiToken) throws IOException
IOExceptionpublic MethodsClient methods()
public Shortcut shortcut()
Copyright © 2017. All rights reserved.