Class DialogOpenRequest.DialogOpenRequestBuilder
java.lang.Object
com.slack.api.methods.request.dialog.DialogOpenRequest.DialogOpenRequestBuilder
- Enclosing class:
- DialogOpenRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()The dialog definition.dialogAsString(String dialogAsString) Authentication token.toString()Exchange a trigger to post to the user.
-
Method Details
-
token
Authentication token. Requires scope: `none`- Returns:
this.
-
dialog
The dialog definition. This must be a JSON-encoded string.- Returns:
this.
-
dialogAsString
- Returns:
this.
-
triggerId
Exchange a trigger to post to the user.Apps can invoke dialogs when users interact with slash commands, message buttons, or message menus. Each interaction will include a trigger_id.
As apps can only open a dialog in response to such a user action, the
trigger_idis a required parameter.- Returns:
this.- See Also:
-
build
-
toString
-