Packages

A Slack Web & Real Time Messaging API client.

Current section

Files

Jump to
slack_kit priv docs methods dialog.open.json
Raw

priv/docs/methods/dialog.open.json

{
"args": {
"dialog": {
"desc": "The dialog definition. This must be a JSON-encoded string.",
"required": true,
"type": "string"
},
"trigger_id": {
"desc": "Exchange a trigger to post to the user.",
"example": "12345.98765.abcd2358fdea",
"required": true,
"type": "string"
}
},
"desc": "Open a dialog with a user",
"errors": {
"app_missing_action_url": "The app associated with the used token doesn't have a Action URL configured in its interactive components settings.",
"cannot_create_dialog": "Something exceptional occurred and the dialog could not be created.",
"failed_sending_dialog": "Something exceptional occurred and the dialog could not be sent.",
"invalid_trigger": "The provided `trigger_id` is invalid or cannot be used by this token.",
"missing_dialog": "No `dialog` argument was presented.",
"missing_trigger": "No `trigger_id` argument was presented.",
"trigger_exchanged": "The provided `trigger_id` has already been exchanged.",
"trigger_expired": "The provided `trigger_id` was presented after the 3 second limit.",
"validation_errors": "The provided `dialog` could not be validated."
},
"rate_limit": {
"label": "Tier 4: 100+ per minute",
"url": "https://docs.slack.dev/apis/web-api/rate-limits"
},
"scopes": {}
}