Uploading files to Slack. Simple Java Library.
Java
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
src/main/java/com/os/operando/meteoroid
.gitignore
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

Meteoroid

Uploading files to Slack. Simple Java Library.

How to use

File uploadFile = new File(..);

Response response = new Meteoroid.Builder()
	.token("your slack api token")
	.uploadFile(uploadFile)
	.channels("#general")
	.title("test titke")
	.initialComment("test comment")
	.build()
	.post();

or

File uploadFile = new File(..);

new Meteoroid.Builder()
	.token("your slack api token")
	.uploadFile(uploadFile)
	.channels("#general")
	.title("test titke")
	.initialComment("test comment")
	.build()
	.post(callback);

Dependencies

Download

Gradle:

allprojects {
    repositories {
        jcenter()
        maven {
            url "https://dl.bintray.com/operandoos/maven/"
        }
    }
}

compile 'com.os.operando.meteoroid:meteoroid:1.2.0'