All Projects → gpedro → Slack Webhook

gpedro / Slack Webhook

Licence: mit
Slack WebHook Integration for Java

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Slack Webhook

Fame
A blog power by spring-boot and vue
Stars: ✭ 162 (-6.36%)
Mutual labels:  maven
Fantasy football chat bot
GroupMe Discord and Slack Chatbot for ESPN Fantasy Football
Stars: ✭ 166 (-4.05%)
Mutual labels:  slack
Slash
Slack terminal client.
Stars: ✭ 164 (-5.2%)
Mutual labels:  slack
Action Slack
🚀 GitHub Action that sends a Slack notification.
Stars: ✭ 163 (-5.78%)
Mutual labels:  slack
My Blog
🌴A simple & beautiful blogging system implemented with spring-boot & thymeleaf & mybatis My Blog 是由 SpringBoot + Mybatis + Thymeleaf 等技术实现的 Java 博客系统,页面美观、功能齐全、部署简单及完善的代码,一定会给使用者无与伦比的体验
Stars: ✭ 2,400 (+1287.28%)
Mutual labels:  maven
Sblack
Black theme for Slack Mac [DEPRECATED]
Stars: ✭ 168 (-2.89%)
Mutual labels:  slack
Sample Projects
Sample project files for JavaCPP, JavaCPP Presets, and JavaCV
Stars: ✭ 160 (-7.51%)
Mutual labels:  maven
Slacker Cli
Messages to slack from command line
Stars: ✭ 172 (-0.58%)
Mutual labels:  slack
Slackboard
A slack proxy server
Stars: ✭ 165 (-4.62%)
Mutual labels:  slack
Secret Santa
🎅 The code behind Secret Santa, the holiday bot for Slack / Discord / Zoom
Stars: ✭ 170 (-1.73%)
Mutual labels:  slack
Gatling Maven Plugin Demo
Showcase of the Gatling Plugin for Maven
Stars: ✭ 162 (-6.36%)
Mutual labels:  maven
Matrix Appservice Slack
A Matrix <--> Slack bridge
Stars: ✭ 164 (-5.2%)
Mutual labels:  slack
Slack Starterbot
Python-powered simple starter Slack bot.
Stars: ✭ 169 (-2.31%)
Mutual labels:  slack
Shop
基于SpringMVC,Spring,Hibernate的网上商城。代码已久不维护...
Stars: ✭ 162 (-6.36%)
Mutual labels:  maven
Chatskills
Run and debug Alexa skills on the command-line. Create bots. Run them in Slack. Run them anywhere!
Stars: ✭ 171 (-1.16%)
Mutual labels:  slack
Php Slack Bot
Slack bot user written in PHP
Stars: ✭ 161 (-6.94%)
Mutual labels:  slack
Rules jvm external
Bazel rules to resolve, fetch and export Maven artifacts
Stars: ✭ 167 (-3.47%)
Mutual labels:  maven
Emoji Ime Dictionary
日本語で絵文字入力をするための IME 追加辞書 📙 Google 日本語入力などで日本語から絵文字への変換を可能にする IME 拡張辞書です
Stars: ✭ 172 (-0.58%)
Mutual labels:  slack
Jitpack.io
Documentation and issues of https://jitpack.io
Stars: ✭ 2,156 (+1146.24%)
Mutual labels:  maven
Terraform Aws Cloudtrail Cloudwatch Alarms
Terraform module for creating alarms for tracking important changes and occurrences from cloudtrail.
Stars: ✭ 170 (-1.73%)
Mutual labels:  slack

slack-webhook

Slack WebHook Integration for Java

Basic Examples

// Send simple message
SlackApi api = new SlackApi("https://hooks.slack.com/services/id_1/id_2/token");
api.call(new SlackMessage("my message"));

// Send simple message with custom name
SlackApi api = new SlackApi("https://hooks.slack.com/services/id_1/id_2/token");
api.call(new SlackMessage("Mafagafo", "my message"));

// Send simple message in different room
SlackApi api = new SlackApi("https://hooks.slack.com/services/id_1/id_2/token");
api.call(new SlackMessage("#general", null, "my message"));

// Send simple message in different room with custom name
SlackApi api = new SlackApi("https://hooks.slack.com/services/id_1/id_2/token");
api.call(new SlackMessage("#general", "Mafagafo", "my message"));

// Send simple message in different room with custom name and tag someone in the message so he will get notified
SlackApi api = new SlackApi("https://hooks.slack.com/services/id_1/id_2/token");
api.call(new SlackMessage("#general", "Mafagafo", "Hi @gpedro : your API rocks").setLinkNames(true));


Installation

Add the following dependency in pom.xml

<dependency>
  <groupId>net.gpedro.integrations.slack</groupId>
  <artifactId>slack-webhook</artifactId>
  <version>1.4.0</version>
</dependency>

Configuration

  1. Go to your_team.slack.com/services/new
  2. Search for Incoming WebHook and click in Add
  3. Choose Channel to Post and press Add Incoming WebHooks Integration
  4. Into Setup Instructions, you've a WebHook URL. He is the argument you must pass the constructor. Then, copy it.

Change Log

  • 1.4.0
    • Added footer, footer-icon, ts (#24) and link_names (#25) attributes
  • 1.3.0
  • 1.2.1
    • Improved MatterMost Compatibility
  • 1.2.0
    • Added Support for Proxy
  • 1.1.2
    • Added Support for Markdown in SlackAttachment
  • 1.1.1
    • General Improvements
  • 1.0.0
    • Init (:
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].