Skip to content

Commit

Permalink
Fix broken links in the "listening and responding to options" documen…
Browse files Browse the repository at this point in the history
…tation (#2169)

Co-authored-by: Eden Zimbelman <zim@o526.net>
  • Loading branch information
ornato-t and zimeg authored Jul 24, 2024
1 parent c361502 commit d6036b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/_basic/ja_listening_responding_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)を参考にしてください。
</div>

```javascript
Expand Down
4 changes: 2 additions & 2 deletions docs/_basic/listening_responding_options.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
</div>

```javascript
Expand Down

0 comments on commit d6036b0

Please sign in to comment.