Class AttachmentActionPayload
java.lang.Object
com.slack.api.app_backend.interactive_components.payload.AttachmentActionPayload
public class AttachmentActionPayload extends Object
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:
- Interactive messages
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AttachmentActionPayload.Action
static class
AttachmentActionPayload.Attachment
static class
AttachmentActionPayload.AttachmentAction
static class
AttachmentActionPayload.AttachmentActionPayloadBuilder
static class
AttachmentActionPayload.AttachmentField
static class
AttachmentActionPayload.Channel
static class
AttachmentActionPayload.Enterprise
static class
AttachmentActionPayload.OriginalMessage
static class
AttachmentActionPayload.Team
static class
AttachmentActionPayload.User
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AttachmentActionPayload()
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)
-
Method Summary
-
Field Details
-
TYPE
- See Also:
- Constant Field Values
-
-
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
-