Constant Field Values
Contents
com.slack.*
-
com.slack.api.bolt.AppConfig.EnvVariableName Modifier and Type Constant Field Value public static final String
SLACK_APP_CLIENT_ID
"SLACK_APP_CLIENT_ID"
public static final String
SLACK_APP_CLIENT_SECRET
"SLACK_APP_CLIENT_SECRET"
public static final String
SLACK_APP_OAUTH_CALLBACK_PATH
"SLACK_APP_OAUTH_CALLBACK_PATH"
public static final String
SLACK_APP_OAUTH_CANCELLATION_URL
"SLACK_APP_OAUTH_CANCELLATION_URL"
public static final String
SLACK_APP_OAUTH_COMPLETION_URL
"SLACK_APP_OAUTH_COMPLETION_URL"
public static final String
SLACK_APP_OAUTH_START_PATH
"SLACK_APP_OAUTH_START_PATH"
public static final String
SLACK_APP_REDIRECT_URI
"SLACK_APP_REDIRECT_URI"
public static final String
SLACK_APP_SCOPE
"SLACK_APP_SCOPE"
public static final String
SLACK_APP_USER_SCOPE
"SLACK_APP_USER_SCOPE"
public static final String
SLACK_BOT_TOKEN
"SLACK_BOT_TOKEN"
public static final String
SLACK_CLIENT_ID
"SLACK_CLIENT_ID"
public static final String
SLACK_CLIENT_SECRET
"SLACK_CLIENT_SECRET"
public static final String
SLACK_INSTALL_PATH
"SLACK_INSTALL_PATH"
public static final String
SLACK_OAUTH_CANCELLATION_URL
"SLACK_OAUTH_CANCELLATION_URL"
public static final String
SLACK_OAUTH_COMPLETION_URL
"SLACK_OAUTH_COMPLETION_URL"
public static final String
SLACK_REDIRECT_URI
"SLACK_REDIRECT_URI"
public static final String
SLACK_REDIRECT_URI_PATH
"SLACK_REDIRECT_URI_PATH"
public static final String
SLACK_SCOPES
"SLACK_SCOPES"
public static final String
SLACK_SIGNING_SECRET
"SLACK_SIGNING_SECRET"
public static final String
SLACK_USER_SCOPES
"SLACK_USER_SCOPES"
public static final String
SLACK_VERIFICATION_TOKEN
"SLACK_VERIFICATION_TOKEN"
-
com.slack.api.bolt.response.Response Modifier and Type Constant Field Value public static final String
CONTENT_TYPE_APPLICATION_JSON
"application/json"
public static final String
CONTENT_TYPE_APPLICATION_JSON_UTF8
"application/json; charset=utf-8"
-
com.slack.api.bolt.response.ResponseTypes Modifier and Type Constant Field Value public static final String
ephemeral
"ephemeral"
public static final String
inChannel
"in_channel"
-
com.slack.api.bolt.service.OAuthStateService Modifier and Type Constant Field Value public static final long
DEFAULT_EXPIRATION_IN_SECONDS
600L
-
com.slack.api.bolt.service.builtin.oauth.view.default_impl.OAuthDefaultInstallPageRenderer Modifier and Type Constant Field Value public static final String
PAGE_TEMPLATE
"<html>\n<head>\n<style>\nbody {\n padding: 10px 15px;\n font-family: verdana;\n text-align: center;\n}\n</style>\n</head>\n<body>\n<h2>Slack App Installation</h2>\n<p><a href=\"__URL__\"><img alt=\"\"Add to Slack\"\" height=\"40\" width=\"139\" src=\"https://platform.slack-edge.com/img/add_to_slack.png\" srcset=\"https://platform.slack-edge.com/img/add_to_slack.png 1x, https://platform.slack-edge.com/img/[email protected] 2x\" /></a></p>\n</body>\n</html>"
-
com.slack.api.bolt.service.builtin.oauth.view.default_impl.OAuthDefaultRedirectUriPageRenderer Modifier and Type Constant Field Value public static final String
FAILURE_PAGE_TEMPLATE
"<html>\n<head>\n<style>\nbody {\n padding: 10px 15px;\n font-family: verdana;\n text-align: center;\n}\n</style>\n</head>\n<body>\n<h2>Oops, Something Went Wrong!</h2>\n<p>Please try again from <a href=\"__INSTALL_PATH__\">here</a> or contact the app owner (reason: __REASON__)</p>\n</body>\n</html>"
public static final String
SUCCESS_PAGE_TEMPLATE
"<html>\n<head>\n<meta http-equiv=\"refresh\" content=\"0; URL=__URL__\">\n<style>\nbody {\n padding: 10px 15px;\n font-family: verdana;\n text-align: center;\n}\n</style>\n</head>\n<body>\n<h2>Thank you!</h2>\n<p>Redirecting to the Slack App... click <a href=\"__URL__\">here</a>. If you use the browser version of Slack, click <a href=\"__BROWSER_URL__\" target=\"_blank\">this link</a> instead.</p>\n</body>\n</html>"
-
com.slack.api.bolt.util.ListenerCodeSuggestion Modifier and Type Constant Field Value public static final String
COMMON_PREFIX
"---\n[Suggestion] You can handle this type of event with the following listener function:\n\n"
public static final String
WORKFLOW_STEP
"---\n[Suggestion] You can handle this type of event with the following listener function:\n\nWorkflowStep step = WorkflowStep.builder()\n .callbackId(\"copy_review\")\n .edit((req, ctx) -> { return ctx.ack(); })\n .save((req, ctx) -> { return ctx.ack(); })\n .execute((req, ctx) -> { return ctx.ack(); })\n .build();\n\napp.step(step);\n"