Class DialogOpenRequest
java.lang.Object
com.slack.api.methods.request.dialog.DialogOpenRequest
- All Implemented Interfaces:
SlackApiRequest
public class DialogOpenRequest extends Object implements SlackApiRequest
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDialogOpenRequest.DialogOpenRequestBuilder -
Method Summary
Modifier and Type Method Description static DialogOpenRequest.DialogOpenRequestBuilderbuilder()protected booleancanEqual(Object other)booleanequals(Object o)DialoggetDialog()The dialog definition.StringgetDialogAsString()StringgetToken()Authentication token.StringgetTriggerId()Exchange a trigger to post to the user.inthashCode()voidsetDialog(Dialog dialog)The dialog definition.voidsetDialogAsString(String dialogAsString)voidsetToken(String token)Authentication token.voidsetTriggerId(String triggerId)Exchange a trigger to post to the user.StringtoString()
-
Method Details
-
builder
-
getToken
Authentication token. Requires scope: `none`- Specified by:
getTokenin interfaceSlackApiRequest
-
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:
- Implementing dialogs
-
setToken
Authentication token. Requires scope: `none` -
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:
- Implementing dialogs
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-