Package com.slack.api.bolt.context
Interface InputBlockRespondUtility
- All Known Implementing Classes:
ViewSubmissionContext
public interface InputBlockRespondUtility
This utility provides respond method functionality for
view_submission request handlers.
The `response_urls` in a view_submission payload can exist only when the modal view has an input block with response_url_enabled: true.
-
Method Summary
Modifier and TypeMethodDescriptiongetResponder(String blockId, String actionId) getSlack()default WebhookResponserespond(InputBlockResponse response) default WebhookResponsedefault WebhookResponsedefault WebhookResponserespond(List<LayoutBlock> blocks)
-
Method Details
-
getSlack
Slack getSlack() -
getResponder
-
getFirstResponder
InputBlockResponseSender getFirstResponder() -
getResponseUrls
List<ViewSubmissionPayload.ResponseUrl> getResponseUrls() -
respond
- Throws:
IOException
-
respond
- Throws:
IOException
-
respond
- Throws:
IOException
-
respond
default WebhookResponse respond(BuilderConfigurator<InputBlockResponse.InputBlockResponseBuilder> builder) throws IOException - Throws:
IOException
-