public class DialogOpenRequest extends Object implements SlackApiRequest
| Modifier and Type | Class and Description |
|---|---|
static class |
DialogOpenRequest.DialogOpenRequestBuilder |
| Modifier and Type | Method and Description |
|---|---|
static DialogOpenRequest.DialogOpenRequestBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Dialog |
getDialog()
The dialog definition.
|
String |
getDialogAsString() |
String |
getToken()
Authentication token.
|
String |
getTriggerId()
Exchange a trigger to post to the user.
|
int |
hashCode() |
void |
setDialog(Dialog dialog)
The dialog definition.
|
void |
setDialogAsString(String dialogAsString) |
void |
setToken(String token)
Authentication token.
|
void |
setTriggerId(String triggerId)
Exchange a trigger to post to the user.
|
String |
toString() |
public static DialogOpenRequest.DialogOpenRequestBuilder builder()
public String getToken()
getToken in interface SlackApiRequestpublic Dialog getDialog()
public String getDialogAsString()
public String getTriggerId()
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_id is a required parameter.
public void setToken(String token)
public void setDialog(Dialog dialog)
public void setDialogAsString(String dialogAsString)
public void setTriggerId(String triggerId)
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_id is a required parameter.
protected boolean canEqual(Object other)
Copyright © 2020. All rights reserved.