Package com.slack.api.bolt.context
Interface ActionRespondUtility
-
- All Superinterfaces:
RespondUtility
- All Known Implementing Classes:
ActionContext
,AttachmentActionContext
,DialogCancellationContext
,DialogSubmissionContext
,MessageShortcutContext
public interface ActionRespondUtility extends RespondUtility
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default WebhookResponse
respond(ActionResponse response)
default WebhookResponse
respond(BuilderConfigurator<ActionResponse.ActionResponseBuilder> builder)
default WebhookResponse
respond(String text)
default WebhookResponse
respond(List<LayoutBlock> blocks)
-
Methods inherited from interface com.slack.api.bolt.context.RespondUtility
getResponder, getResponseUrl, getSlack, setResponder
-
-
-
-
Method Detail
-
respond
default WebhookResponse respond(String text) throws IOException
- Throws:
IOException
-
respond
default WebhookResponse respond(List<LayoutBlock> blocks) throws IOException
- Throws:
IOException
-
respond
default WebhookResponse respond(ActionResponse response) throws IOException
- Throws:
IOException
-
respond
default WebhookResponse respond(BuilderConfigurator<ActionResponse.ActionResponseBuilder> builder) throws IOException
- Throws:
IOException
-
-