Class DialogOpenRequest

java.lang.Object
com.slack.api.methods.request.dialog.DialogOpenRequest
All Implemented Interfaces:
SlackApiRequest

public class DialogOpenRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/dialog.open
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token. Requires scope: `none`
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getDialog

      public Dialog getDialog()
      The dialog definition. This must be a JSON-encoded string.
    • getDialogAsString

      public String getDialogAsString()
    • getTriggerId

      public String 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_id is a required parameter.

      See Also:
    • setToken

      public void setToken(String token)
      Authentication token. Requires scope: `none`
      Specified by:
      setToken in interface SlackApiRequest
    • setDialog

      public void setDialog(Dialog dialog)
      The dialog definition. This must be a JSON-encoded string.
    • setDialogAsString

      public void setDialogAsString(String dialogAsString)
    • setTriggerId

      public void setTriggerId(String 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_id is a required parameter.

      See Also:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object