From d6036b0c03fe3aae1707ef3fdec464988c8c810f Mon Sep 17 00:00:00 2001 From: Tommaso Ornato <53061271+ornato-t@users.noreply.github.com> Date: Wed, 24 Jul 2024 20:37:32 +0200 Subject: [PATCH] Fix broken links in the "listening and responding to options" documentation (#2169) Co-authored-by: Eden Zimbelman --- docs/_basic/ja_listening_responding_options.md | 2 +- docs/_basic/listening_responding_options.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/_basic/ja_listening_responding_options.md b/docs/_basic/ja_listening_responding_options.md index 57560914b..fac4f45a3 100644 --- a/docs/_basic/ja_listening_responding_options.md +++ b/docs/_basic/ja_listening_responding_options.md @@ -10,7 +10,7 @@ order: 14 `external_select` メニューには `action_id` を使用することをおすすめしますが、ダイアログはまだ Block Kit をサポートしていないため、制約オブジェクトを用いて `callback_id` でフィルタリングする必要があります。 -オプションのリクエストへの応答には、適切なオプションを指定して `ack()` を実行する必要があります。API サイトに掲載されている[external_select の応答の例](https://api.slack.com/reference/messaging/block-elements#external-select)や[ダイアログ応答の例](https://api.slack.com/dialogs#dynamic_select_elements_external)を参考にしてください。 +オプションのリクエストへの応答には、適切なオプションを指定して `ack()` を実行する必要があります。API サイトに掲載されている[external_select の応答の例](https://api.slack.com/reference/messaging/block-elements#external_select)や[ダイアログ応答の例](https://api.slack.com/legacy/dialogs#dynamic_select_elements_external)を参考にしてください。 ```javascript diff --git a/docs/_basic/listening_responding_options.md b/docs/_basic/listening_responding_options.md index 95cbc6ace..4bc1f70ec 100644 --- a/docs/_basic/listening_responding_options.md +++ b/docs/_basic/listening_responding_options.md @@ -9,10 +9,10 @@ order: 14 The `options()` method listens for incoming option request payloads from Slack. [Similar to `action()`](#action-listening), an `action_id` or constraints object is required. -While it's recommended to use `action_id` for `external_select` menus, dialogs do not yet support Block Kit so you'll have to +While it's recommended to use `action_id` for `external_select` menus, dialogs do not yet support Block Kit so you'll have to use the constraints object to filter on a `callback_id`. -To respond to options requests, you'll need to `ack()` with valid options. Both [external select response examples](https://api.slack.com/reference/messaging/block-elements#external-select) and [dialog response examples](https://api.slack.com/dialogs#dynamic_select_elements_external) can be found on our API site. +To respond to options requests, you'll need to `ack()` with valid options. Both [external select response examples](https://api.slack.com/reference/messaging/block-elements#external_select) and [dialog response examples](https://api.slack.com/legacy/dialogs#dynamic_select_elements_external) can be found on our API site. ```javascript