Class AttachmentActionPayload.AttachmentActionPayloadBuilder
java.lang.Object
com.slack.api.app_backend.interactive_components.payload.AttachmentActionPayload.AttachmentActionPayloadBuilder
- Enclosing class:
- AttachmentActionPayload
-
Method Summary
Modifier and TypeMethodDescriptionactions
(List<AttachmentActionPayload.Action> actions) appUnfurl
(boolean appUnfurl) attachmentId
(String attachmentId) build()
callbackId
(String callbackId) channel
(AttachmentActionPayload.Channel channel) enterprise
(AttachmentActionPayload.Enterprise enterprise) isEnterpriseInstall
(boolean isEnterpriseInstall) originalMessage
(AttachmentActionPayload.OriginalMessage originalMessage) responseUrl
(String responseUrl) toString()
-
Method Details
-
actions
public AttachmentActionPayload.AttachmentActionPayloadBuilder actions(List<AttachmentActionPayload.Action> actions) - Returns:
this
.
-
callbackId
- Returns:
this
.
-
enterprise
public AttachmentActionPayload.AttachmentActionPayloadBuilder enterprise(AttachmentActionPayload.Enterprise enterprise) - Returns:
this
.
-
team
public AttachmentActionPayload.AttachmentActionPayloadBuilder team(AttachmentActionPayload.Team team) - Returns:
this
.
-
channel
public AttachmentActionPayload.AttachmentActionPayloadBuilder channel(AttachmentActionPayload.Channel channel) - Returns:
this
.
-
user
public AttachmentActionPayload.AttachmentActionPayloadBuilder user(AttachmentActionPayload.User user) - Returns:
this
.
-
actionTs
- Returns:
this
.
-
messageTs
- Returns:
this
.
-
attachmentId
- Returns:
this
.
-
token
- Returns:
this
.
-
appUnfurl
- Returns:
this
.
-
originalMessage
public AttachmentActionPayload.AttachmentActionPayloadBuilder originalMessage(AttachmentActionPayload.OriginalMessage originalMessage) - Returns:
this
.
-
responseUrl
- Returns:
this
.
-
triggerId
- Returns:
this
.
-
isEnterpriseInstall
public AttachmentActionPayload.AttachmentActionPayloadBuilder isEnterpriseInstall(boolean isEnterpriseInstall) - Returns:
this
.
-
build
-
toString
-