Class AttachmentActionContext
java.lang.Object
com.slack.api.bolt.context.Context
com.slack.api.bolt.context.builtin.AttachmentActionContext
- All Implemented Interfaces:
ActionRespondUtility
,RespondUtility
,SayUtility
Action type request's context from attachments in messages.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields inherited from class com.slack.api.bolt.context.Context
additionalValues, authTestResponse, botId, botScopes, botToken, botUserId, enterpriseId, enterpriseInstall, logger, requestUserId, requestUserScopes, requestUserToken, slack, teamId
-
Constructor Summary
ConstructorsConstructorDescriptionAttachmentActionContext
(String triggerId, String channelId, String responseUrl, Responder responder) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
int
hashCode()
void
setChannelId
(String channelId) void
setResponder
(Responder responder) void
setResponseUrl
(String responseUrl) void
setTriggerId
(String triggerId) toString()
Methods inherited from class com.slack.api.bolt.context.Context
ack, ack, ackWithJson, asyncClient, client, getAdditionalValues, getAuthTestResponse, getBotId, getBotScopes, getBotToken, getBotUserId, getEnterpriseId, getLogger, getRequestUserId, getRequestUserScopes, getRequestUserToken, getSlack, getTeamId, isEnterpriseInstall, say, setAuthTestResponse, setBotId, setBotScopes, setBotToken, setBotUserId, setEnterpriseId, setEnterpriseInstall, setRequestUserId, setRequestUserScopes, setRequestUserToken, setSlack, setTeamId, toJson
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.slack.api.bolt.context.ActionRespondUtility
respond, respond, respond, respond
Methods inherited from interface com.slack.api.bolt.context.RespondUtility
getSlack
Methods inherited from interface com.slack.api.bolt.context.SayUtility
client, say, say, say, verifyChannelId
-
Constructor Details
-
AttachmentActionContext
public AttachmentActionContext() -
AttachmentActionContext
-
-
Method Details
-
builder
-
getTriggerId
-
getChannelId
- Specified by:
getChannelId
in interfaceSayUtility
-
getResponseUrl
- Specified by:
getResponseUrl
in interfaceRespondUtility
-
getResponder
- Specified by:
getResponder
in interfaceRespondUtility
-
setTriggerId
-
setChannelId
-
setResponseUrl
-
setResponder
- Specified by:
setResponder
in interfaceRespondUtility
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-