Class BlockActionPayload.BlockActionPayloadBuilder
java.lang.Object
com.slack.api.app_backend.interactive_components.payload.BlockActionPayload.BlockActionPayloadBuilder
- Enclosing class:
- BlockActionPayload
-
Method Summary
Modifier and TypeMethodDescriptionactions
(List<BlockActionPayload.Action> actions) appUnfurl
(BlockActionPayload.AppUnfurl appUnfurl) botAccessToken
(String botAccessToken) build()
channel
(BlockActionPayload.Channel channel) container
(BlockActionPayload.Container container) enterprise
(BlockActionPayload.Enterprise enterprise) functionData
(BlockActionPayload.FunctionData functionData) interactivity
(BlockActionPayload.Interactivity interactivity) isEnterpriseInstall
(boolean isEnterpriseInstall) responseUrl
(String responseUrl) team
(BlockActionPayload.Team team) toString()
user
(BlockActionPayload.User user)
-
Method Details
-
enterprise
public BlockActionPayload.BlockActionPayloadBuilder enterprise(BlockActionPayload.Enterprise enterprise) - Returns:
this
.
-
team
- Returns:
this
.
-
user
- Returns:
this
.
-
apiAppId
- Returns:
this
.
-
token
- Returns:
this
.
-
container
public BlockActionPayload.BlockActionPayloadBuilder container(BlockActionPayload.Container container) - Returns:
this
.
-
triggerId
- Returns:
this
.
-
channel
- Returns:
this
.
-
message
- Returns:
this
.
-
responseUrl
- Returns:
this
.
-
view
- Returns:
this
.
-
state
- Returns:
this
.
-
appUnfurl
public BlockActionPayload.BlockActionPayloadBuilder appUnfurl(BlockActionPayload.AppUnfurl appUnfurl) - Returns:
this
.
-
actions
public BlockActionPayload.BlockActionPayloadBuilder actions(List<BlockActionPayload.Action> actions) - Returns:
this
.
-
isEnterpriseInstall
public BlockActionPayload.BlockActionPayloadBuilder isEnterpriseInstall(boolean isEnterpriseInstall) - Returns:
this
.
-
botAccessToken
- Returns:
this
.
-
functionData
public BlockActionPayload.BlockActionPayloadBuilder functionData(BlockActionPayload.FunctionData functionData) - Returns:
this
.
-
interactivity
public BlockActionPayload.BlockActionPayloadBuilder interactivity(BlockActionPayload.Interactivity interactivity) - Returns:
this
.
-
build
-
toString
-