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() |
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.
|
public static Slack getInstance()
public WebhookResponse send(String url, Payload payload) throws IOException
IOExceptionpublic RTMClient rtm(String apiToken) throws IOException
IOExceptionpublic MethodsClient methods()
Copyright © 2016. All rights reserved.