Class DialogOpenRequest
java.lang.Object
com.slack.api.methods.request.dialog.DialogOpenRequest
- All Implemented Interfaces:
SlackApiRequest
https://docs.slack.dev/reference/methods/dialog.open
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe dialog definition.getToken()Authentication token.Exchange a trigger to post to the user.inthashCode()voidThe dialog definition.voidsetDialogAsString(String dialogAsString) voidAuthentication token.voidsetTriggerId(String triggerId) Exchange a trigger to post to the user.toString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `none`- Specified by:
getTokenin interfaceSlackApiRequest- Returns:
- token string value or null
-
getDialog
The dialog definition. This must be a JSON-encoded string. -
getDialogAsString
-
getTriggerId
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.- See Also:
-
setToken
Authentication token. Requires scope: `none`- Specified by:
setTokenin interfaceSlackApiRequest
-
setDialog
The dialog definition. This must be a JSON-encoded string. -
setDialogAsString
-
setTriggerId
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.- See Also:
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-