Class ViewSubmissionContext
java.lang.Object
com.slack.api.bolt.context.Context
com.slack.api.bolt.context.builtin.ViewSubmissionContext
- All Implemented Interfaces:
InputBlockRespondUtility
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.slack.api.bolt.context.Context
additionalValues, botId, botToken, botUserId, enterpriseId, enterpriseInstall, logger, requestUserId, requestUserToken, slack, teamId
-
Constructor Summary
ConstructorDescriptionViewSubmissionContext
(List<ViewSubmissionPayload.ResponseUrl> responseUrls, Responder responder) -
Method Summary
Modifier and TypeMethodDescriptionack
(ViewSubmissionResponse response) ackWithErrors
(Map<String, String> errors) ackWithPush
(View view) ackWithPush
(String view) ackWithUpdate
(View view) ackWithUpdate
(String view) builder()
protected boolean
boolean
getResponder
(String blockId, String actionId) int
hashCode()
void
setResponder
(Responder responder) void
setResponseUrls
(List<ViewSubmissionPayload.ResponseUrl> responseUrls) toString()
Methods inherited from class com.slack.api.bolt.context.Context
ack, ack, ackWithJson, asyncClient, client, getAdditionalValues, getBotId, getBotToken, getBotUserId, getEnterpriseId, getLogger, getRequestUserId, getRequestUserToken, getSlack, getTeamId, isEnterpriseInstall, say, setBotId, setBotToken, setBotUserId, setEnterpriseId, setEnterpriseInstall, setRequestUserId, setRequestUserToken, setSlack, setTeamId, toJson
-
Constructor Details
-
ViewSubmissionContext
public ViewSubmissionContext() -
ViewSubmissionContext
public ViewSubmissionContext(List<ViewSubmissionPayload.ResponseUrl> responseUrls, Responder responder)
-
-
Method Details
-
ack
-
ack
public Response ack(BuilderConfigurator<ViewSubmissionResponse.ViewSubmissionResponseBuilder> builder) -
ackWithErrors
-
ackWithUpdate
-
ackWithUpdate
-
ackWithPush
-
ackWithPush
-
ack
-
ack
-
getResponder
- Specified by:
getResponder
in interfaceInputBlockRespondUtility
-
getFirstResponder
- Specified by:
getFirstResponder
in interfaceInputBlockRespondUtility
-
builder
-
getResponseUrls
- Specified by:
getResponseUrls
in interfaceInputBlockRespondUtility
-
getResponder
-
setResponseUrls
-
setResponder
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-