slack-webhook icon indicating copy to clipboard operation
slack-webhook copied to clipboard

Slack WebHook Integration for Java

Results 21 slack-webhook issues
Sort by recently updated
recently updated
newest added

Why am I getting this error client token: N/A diagnostics: User class threw exception: net.gpedro.integrations.slack.SlackException: java.io.FileNotFoundException: https://hooks.slack.com/services// at net.gpedro.integrations.slack.SlackApi.send(SlackApi.java:96) at net.gpedro.integrations.slack.SlackApi.call(SlackApi.java:59)

Using "value" does not work (maybe it used to). [Example](https://api.slack.com/docs/messages/builder?msg=%7B%22text%22%3A%22%3C%40W1A2BC3DD%3E%20approved%20your%20travel%20request.%20Book%20any%20airline%20you%20like%20by%20continuing%20below.%22%2C%22channel%22%3A%22C061EG9SL%22%2C%22attachments%22%3A%5B%7B%22fallback%22%3A%22Book%20your%20flights%20at%20https%3A%2F%2Fflights.example.com%2Fbook%2Fr123456%22%2C%22actions%22%3A%5B%7B%22type%22%3A%22button%22%2C%22text%22%3A%22Book%20flights%20%F0%9F%9B%AB%22%2C%22value%22%3A%22https%3A%2F%2Fflights.example.com%2Fbook%2Fr123456%22%7D%5D%7D%5D%7D) Using "url" does work. [Example](https://api.slack.com/docs/messages/builder?msg=%7B%22text%22%3A%22%3C%40W1A2BC3DD%3E%20approved%20your%20travel%20request.%20Book%20any%20airline%20you%20like%20by%20continuing%20below.%22%2C%22channel%22%3A%22C061EG9SL%22%2C%22attachments%22%3A%5B%7B%22fallback%22%3A%22Book%20your%20flights%20at%20https%3A%2F%2Fflights.example.com%2Fbook%2Fr123456%22%2C%22actions%22%3A%5B%7B%22type%22%3A%22button%22%2C%22text%22%3A%22Book%20flights%20%F0%9F%9B%AB%22%2C%22url%22%3A%22https%3A%2F%2Fflights.example.com%2Fbook%2Fr123456%22%7D%5D%7D%5D%7D)

Null-check is needed for the setter with Date param because mappers like Mapstruct are mapping null value to it. I had to make a workaround in my mapper like this:...

Shoudl fix #33 Actually there is no unit test, but it's compiling...

As discussed in #27, this is the beginning of collaboration. Please tell me if it matches your approach and i can keep going this way ;-p

Lombok is now a very popular utility used to automate getter setters and many other boilerplate code. Using it makes the code more readable, and allows consistency. Read more at...

For some reason I have a version of 2.0.1 of this repo, and I just saw that the only latest version you have is 1.*. What happened ? did you...

When you call the api via the `SlackApi` object created without `Proxy` parameter, it tries to open the connection with `Proxy.NO_PROXY`(means direct connection). ``` System.setProperty("https.proxyHost","test.proxy.com"); // will be ignored System.setProperty("https.proxyPort","8081");...

As shown in the example by slack for sending attachements, text is not a required field. However, your client throws an exception. ``` { "attachments": [ { "fallback": "Required plain-text...