Skip to content

Commit 32b9723

Browse files
links
1 parent 352b982 commit 32b9723

File tree

11 files changed

+17
-17
lines changed

11 files changed

+17
-17
lines changed

docs/english/guides/ai-apps.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ When the user messages your app, the [`message.im`](/reference/events/message.im
194194
Messages sent to the app do not contain a [subtype](/reference/events/message) and must be deduced based on their shape and any provided [message metadata](/messaging/message-metadata/).
195195

196196
There are three utilities that are particularly useful in curating the user experience:
197-
* [`say`](/bolt-python/api-docs/slack_bolt/#slack_bolt.Say)
198-
* [`setTitle`](/bolt-python/api-docs/slack_bolt/#slack_bolt.SetTitle)
199-
* [`setStatus`](/bolt-python/api-docs/slack_bolt/#slack_bolt.SetStatus)
197+
* [`say`](/bolt-python/reference/#slack_bolt.Say)
198+
* [`setTitle`](/bolt-python/reference/#slack_bolt.SetTitle)
199+
* [`setStatus`](/bolt-python/reference/#slack_bolt.SetStatus)
200200

201201
## Full example: Assistant Simple App {#full-example}
202202

docs/english/guides/app-distribution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ lang: en
44

55
# App Distribution (OAuth)
66

7-
A newly created Slack app can only be installed in its development workspace in the beginning. By setting an OAuth Redirect URL and enabling [App Distribution](/distribution/), the app becomes to be ready for installation in other workspaces.
7+
A newly created Slack app can only be installed in its development workspace in the beginning. By setting an OAuth Redirect URL and enabling [App Distribution](/app-management/distribution), the app becomes to be ready for installation in other workspaces.
88

99
* [Installing with OAuth](/authentication/installing-with-oauth)
10-
* [Distributing Slack apps](/distribution/)
10+
* [Distributing Slack apps](/app-management/distribution)
1111

1212
### Slack app configuration
1313

docs/english/guides/bolt-basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ app.command("/hello", (req, ctx) -> {
167167
});
168168
```
169169

170-
For [chat.postMessage](/reference/methods/chat.postmessage) API calls with the given channel ID, using the `say()` utility is simpler. However, if your slash command needs to be available anywhere, using `ctx.respond` would be more robust, as the `say()` method does not work for conversations where the app's bot user is not a member (e.g., a person's own DM).
170+
For [chat.postMessage](/reference/methods/chat.postMessage) API calls with the given channel ID, using the `say()` utility is simpler. However, if your slash command needs to be available anywhere, using `ctx.respond` would be more robust, as the `say()` method does not work for conversations where the app's bot user is not a member (e.g., a person's own DM).
171171

172172
```java
173173
app.command("/hello", (req, ctx) -> {

docs/english/guides/composing-messages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ lang: en
44

55
# Composing Messages
66

7-
This section shows how to build Slack messages using the `slack-api-client` library. If you're not familiar with the [`chat.postMessage`](/reference/methods/chat.postmessage) API method yet, read [the Web API basics page](/java-slack-sdk/guides/web-api-basics) before trying the samples here.
7+
This section shows how to build Slack messages using the `slack-api-client` library. If you're not familiar with the [`chat.postMessage`](/reference/methods/chat.postMessage) API method yet, read [the Web API basics page](/java-slack-sdk/guides/web-api-basics) before trying the samples here.
88

99
Before jumping into Java code, we recommend developing an understanding of composing Slack messages. [Read the API documentation](/messaging/) for more information.
1010

docs/english/guides/events-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Bolt does many of the commonly required tasks for you. The steps you need to han
4444
* Code the desired logic you want to do with the event data
4545
* Call `ack()` as an acknowledgment
4646

47-
In event payloads, `response_url` is not included as it's not a payload coming from direct user interactions. Also, it's not possible to post a message using `ctx.ack()` for the same reason. If an event you receive is a user interaction and you'd like to post a reply to the user in the conversation where the event happened, call the [`chat.postMessage`](/reference/methods/chat.postmessage) method with `channel` in the event payload.
47+
In event payloads, `response_url` is not included as it's not a payload coming from direct user interactions. Also, it's not possible to post a message using `ctx.ack()` for the same reason. If an event you receive is a user interaction and you'd like to post a reply to the user in the conversation where the event happened, call the [`chat.postMessage`](/reference/methods/chat.postMessage) method with `channel` in the event payload.
4848

4949
```java
5050
import com.slack.api.methods.response.chat.ChatPostMessageResponse;

docs/english/guides/web-api-basics.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ Are you looking for the [Incoming Webhooks](/messaging/sending-messages-using-in
4242
---
4343
## Call a method
4444

45-
The most popular Slack Web API method is the [`chat.postMessage`](/reference/methods/chat.postmessage) method, and it's used to send a message to a conversation.
45+
The most popular Slack Web API method is the [`chat.postMessage`](/reference/methods/chat.postMessage) method, and it's used to send a message to a conversation.
4646

47-
To call a Web API method such as [`chat.postMessage`](/reference/methods/chat.postmessage), a `MethodsClient` instance needs to be initialized with a token. A token begins with `xoxb-` (bot token) or `xoxp-` (user token). You get them from each workspace that an app has been installed on. [The Slack app settings pages](https://api.slack.com/apps) help you get your first token for your development workspace.
47+
To call a Web API method such as [`chat.postMessage`](/reference/methods/chat.postMessage), a `MethodsClient` instance needs to be initialized with a token. A token begins with `xoxb-` (bot token) or `xoxp-` (user token). You get them from each workspace that an app has been installed on. [The Slack app settings pages](https://api.slack.com/apps) help you get your first token for your development workspace.
4848

4949
:::warning[Do not hard code token values]
5050

docs/japanese/guides/app-distribution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ lang: ja
44

55
# アプリの配布 (OAuth)
66

7-
新しく作られた Slack アプリは、はじめは開発用ワークスペース(Development Workspace)にだけインストールすることができます。OAuth Redirect URL を設定して [App Distribution](/distribution/) を有効にすると、そのアプリは他のどのワークスペースにもインストールできるようになります。
7+
新しく作られた Slack アプリは、はじめは開発用ワークスペース(Development Workspace)にだけインストールすることができます。OAuth Redirect URL を設定して [App Distribution](/app-management/distribution) を有効にすると、そのアプリは他のどのワークスペースにもインストールできるようになります。
88

99
*[Installing with OAuth(英語)](/authentication/installing-with-oauth)
10-
*[Distributing Slack Apps(英語)](/distribution/)
10+
*[Distributing Slack Apps(英語)](/app-management/distribution)
1111

1212
### Slack アプリの設定
1313

docs/japanese/guides/bolt-basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ app.command("/hello", (req, ctx) -> {
167167
});
168168
```
169169

170-
ちなみにペイロードに含まれているチャンネル ID を用いた [**chat.postMessage**](/reference/methods/chat.postmessage) API の呼び出しに限っては `say()` というユーティリティメソッドを使えば、より簡単になります。もし、あらゆる場所でこのスラッシュコマンドを使えるようにしたい場合は `ctx.respond` を使う方が安全でしょう。`say()` は、あなたのアプリのボットユーザーがメンバーではない会話(例:個人の DM)では使用することができないためです。
170+
ちなみにペイロードに含まれているチャンネル ID を用いた [**chat.postMessage**](/reference/methods/chat.postMessage) API の呼び出しに限っては `say()` というユーティリティメソッドを使えば、より簡単になります。もし、あらゆる場所でこのスラッシュコマンドを使えるようにしたい場合は `ctx.respond` を使う方が安全でしょう。`say()` は、あなたのアプリのボットユーザーがメンバーではない会話(例:個人の DM)では使用することができないためです。
171171

172172
```java
173173
app.command("/hello", (req, ctx) -> {

docs/japanese/guides/composing-messages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ lang: ja
44

55
# メッセージの組み立て方
66

7-
このセクションでは **slack-api-client** を使って Slack メッセージを組み立てる方法を解説します。もし、まだ [**chat.postMessage**](/reference/methods/chat.postmessage) API を使ったことがなければ、このページのサンプルを試す前にまず[こちらのページ](/java-slack-sdk/guides/web-api-basics)を読んでください。
7+
このセクションでは **slack-api-client** を使って Slack メッセージを組み立てる方法を解説します。もし、まだ [**chat.postMessage**](/reference/methods/chat.postMessage) API を使ったことがなければ、このページのサンプルを試す前にまず[こちらのページ](/java-slack-sdk/guides/web-api-basics)を読んでください。
88

99
また、Java でのコーディングに入る前に「[An overview of message composition(英語)](/messaging/)」を一読して、Slack メッセージの組み立て方について理解を深めることをおすすめします。
1010

docs/japanese/guides/events-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Bolt は Slack アプリに必要な共通処理の多くを巻き取ります
4141
* イベントデータを使った任意の処理
4242
* 受け取ったことを伝えるために `ack()`
4343

44-
このリクエストは、ユーザーインタラクションからの直接の呼び出しではないので、ペイロードには `response_url` は含まれていません。また、同じ理由から `ctx.ack()` を使ってチャンネルにメッセージを投稿することもできません。もし、対象のイベントがユーザーインタラクションによるもので、そのユーザーへの返信として投稿したい場合は、イベントのペイロードに含まれている `channel` を使って [**chat.postMessage**](/reference/methods/chat.postmessage) API メソッドや類する API を実行してください。
44+
このリクエストは、ユーザーインタラクションからの直接の呼び出しではないので、ペイロードには `response_url` は含まれていません。また、同じ理由から `ctx.ack()` を使ってチャンネルにメッセージを投稿することもできません。もし、対象のイベントがユーザーインタラクションによるもので、そのユーザーへの返信として投稿したい場合は、イベントのペイロードに含まれている `channel` を使って [**chat.postMessage**](/reference/methods/chat.postMessage) API メソッドや類する API を実行してください。
4545

4646
```java
4747
import com.slack.api.methods.response.chat.ChatPostMessageResponse;

0 commit comments

Comments
 (0)