-
Notifications
You must be signed in to change notification settings - Fork 227
Add work objects support #1512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add work objects support #1512
Changes from 6 commits
8be1e14
3419935
74cffd4
1be7dc2
e01e566
8ea0ffc
55656ec
e61311f
1105f3c
20ae46c
280ca8b
a8d7512
414e72a
f613e40
be89303
b803ad1
668a091
cb5d21e
aa56553
814acce
82996fe
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -105,7 +105,7 @@ app.blockAction("assistant-generate-numbers", (req, ctx) -> { | |
| .channel(req.getPayload().getChannel().getId()) | ||
| .threadTs(req.getPayload().getMessage().getThreadTs()) | ||
| .text("OK, I will generate numbers for you!") | ||
| .metadata(new Message.Metadata("assistant-generate-numbers", eventPayload)) | ||
| .metadata(Message.Metadata.builder().eventType("assistant-generate-numbers").eventPayload(eventPayload).build()) | ||
|
||
| ); | ||
| } catch (Exception e) { | ||
| ctx.logger.error("Failed to post a bot message: {e}", e); | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -115,5 +115,7 @@ | |
| }, | ||
| "error": "", | ||
| "needed": "", | ||
| "provided": "" | ||
| "provided": "", | ||
| "arg": "", | ||
| "callstack": "" | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should the callstack param be left out of these json-logs files? (I don't see it included for any other APIs) |
||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| { | ||
| "ok": false, | ||
| "warning": "", | ||
| "error": "", | ||
| "needed": "", | ||
| "provided": "", | ||
| "response_metadata": { | ||
| "messages": [ | ||
| "" | ||
| ] | ||
| } | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.