Class AttachmentActionPayload
java.lang.Object
com.slack.api.app_backend.interactive_components.payload.AttachmentActionPayload
Interactive messages are much like other messages, only they contain buttons, a variety of menus types,
or they have some custom actions available.
Rather than remaining mostly static, interactive messages evolve over time.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
static class
static class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAttachmentActionPayload
(List<AttachmentActionPayload.Action> actions, String callbackId, AttachmentActionPayload.Enterprise enterprise, AttachmentActionPayload.Team team, AttachmentActionPayload.Channel channel, AttachmentActionPayload.User user, String actionTs, String messageTs, String attachmentId, String token, boolean appUnfurl, AttachmentActionPayload.OriginalMessage originalMessage, String responseUrl, String triggerId, boolean isEnterpriseInstall) -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
getTeam()
getToken()
getType()
getUser()
int
hashCode()
boolean
boolean
void
setActions
(List<AttachmentActionPayload.Action> actions) void
setActionTs
(String actionTs) void
setAppUnfurl
(boolean appUnfurl) void
setAttachmentId
(String attachmentId) void
setCallbackId
(String callbackId) void
void
setEnterprise
(AttachmentActionPayload.Enterprise enterprise) void
setEnterpriseInstall
(boolean isEnterpriseInstall) void
setMessageTs
(String messageTs) void
setOriginalMessage
(AttachmentActionPayload.OriginalMessage originalMessage) void
setResponseUrl
(String responseUrl) void
void
void
setTriggerId
(String triggerId) void
toString()
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
AttachmentActionPayload
public AttachmentActionPayload(List<AttachmentActionPayload.Action> actions, String callbackId, AttachmentActionPayload.Enterprise enterprise, AttachmentActionPayload.Team team, AttachmentActionPayload.Channel channel, AttachmentActionPayload.User user, String actionTs, String messageTs, String attachmentId, String token, boolean appUnfurl, AttachmentActionPayload.OriginalMessage originalMessage, String responseUrl, String triggerId, boolean isEnterpriseInstall) -
AttachmentActionPayload
public AttachmentActionPayload()
-
-
Method Details
-
builder
-
getType
-
getActions
-
getCallbackId
-
getEnterprise
-
getTeam
-
getChannel
-
getUser
-
getActionTs
-
getMessageTs
-
getAttachmentId
-
getToken
-
isAppUnfurl
public boolean isAppUnfurl() -
getOriginalMessage
-
getResponseUrl
-
getTriggerId
-
isEnterpriseInstall
public boolean isEnterpriseInstall() -
setActions
-
setCallbackId
-
setEnterprise
-
setTeam
-
setChannel
-
setUser
-
setActionTs
-
setMessageTs
-
setAttachmentId
-
setToken
-
setAppUnfurl
public void setAppUnfurl(boolean appUnfurl) -
setOriginalMessage
-
setResponseUrl
-
setTriggerId
-
setEnterpriseInstall
public void setEnterpriseInstall(boolean isEnterpriseInstall) -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-