Comments (4)
Apologies. It is associated by the Action
field name, not the classname, correct?
I tried to clone the repo, and make the change myself and make a PR and what not, but I seem to be having some issues getting Eclipse to work nicely with Lombok.
from java-slack-sdk.
I don't understand what the points we need to change in the library code are. If you need to specify the value of attachments.actions.name
, your own code can (to be exact, should) do that.
from java-slack-sdk.
The issue is not with the attachments.actions.name
the issue is with attachments.actions.confirm
.
For example an action should have the following json:
{
"name": "game",
"text": "Thermonuclear War",
"style": "danger",
"type": "button",
"value": "war",
"confirm": {
"title": "Are you sure?",
"text": "Wouldn't you prefer a good game of chess?",
"ok_text": "Yes",
"dismiss_text": "No"
}
}
but the Json output from jslack is:
{
"name": "game",
"text": "Thermonuclear War",
"style": "danger",
"type": "button",
"value": "war",
"confirmation_message": {
"title": "Are you sure?",
"text": "Wouldn't you prefer a good game of chess?",
"ok_text": "Yes",
"dismiss_text": "No"
}
}
Noting the difference between confirm and confirmation_message.
Does that clarify the the issue?
from java-slack-sdk.
Thanks, I understand. So this pull request originally had a bug. #12
It's pretty easy to fix this. Just renaming the ConfirmationMessage
class to Confirm
class. You don't need to setup your Eclipse for Lombok. Simply building with Gradle and ensuring the behavior by running tests would be enough. I'm looking forward to merging your pull request 😸
from java-slack-sdk.
Related Issues (20)
- `auth.test` in `MultiTeamsAuthorization` HOT 10
- Add documentation for using the `SlackSignature` verifier from `app_backend` with specific Java requirements HOT 2
- MarkdownTextObject as text in OptionObject entries for StaticSelectElements HOT 2
- Question: Is it possible to add ViewState to blockSuggestion events? HOT 5
- Request for Exact Size Limit of Timestamp (ts) Field in Java Slack SDK HOT 2
- Use the slack huddle api HOT 1
- maven distro of slack-api-client imports okhttp v4.9.3. Should be v4.12.0. HOT 2
- How to un-register/re-register a message listener HOT 4
- Slack couldn't verify messages with *(bold) w/ Spring Boot HOT 1
- Message sent after file upload comes earlier than the file appears in the channel HOT 4
- ResponseMetadata missing in AdminInviteRequestsResponse HOT 2
- FileUploadV2 is breaking two useful features available in pervious version HOT 9
- entity.message is missing in Audit Logs API response HOT 1
- files.upload v2 method does not upload multiple files with full metadata HOT 5
- Slack API that allows me to call to install an app on a specific channel and remove an app on a specific channel HOT 7
- How do I respond to the url_verification event? HOT 2
- bolt-servlet implementation with dropwizard giving AppConfig ClassNotFound issue HOT 4
- Events Lag Issue HOT 4
- ImageElement.setImageBytes(Integer) HOT 2
- Can we use "Bot is typing..." feature via APIs? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-slack-sdk.