Skip to content

vspr-ai/slack-api

Repository files navigation

Slack API

Build Status codecov

Building

gradle build

Usage

First, create an instance of the slack API with the SlackAPIFactory:

    SlackAPI slackAPI = SlackAPIFactory.newSlackFactory()
        .setClientId("test-id")
        .setClientSecret("test-secret")
        .build();

Then, post a message to channel:

    Message test = Message.builder()
        .setToken("test")
        .setText("hello world")
        .setChannel("@dg")
        .setAsUser(true)
        .build();

    underTest.postMessage(test);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages