You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorial/02-building-a-message.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# Building a message
2
-
The code for this step is also available [here](/tutorial/PythOnBoardingBot/onboarding_tutorial.py).
2
+
The code for this step is available [here](/tutorial/PythOnBoardingBot/onboarding_tutorial.py).
3
3
4
4
> 💡 **[Block Kit](https://api.slack.com/block-kit)** is a new UI framework that offers you more control and flexibility when building messages for Slack. Comprised of "blocks," stackable bits of message UI, you can customize the order and appearance of information delivered by your app in Slack. Using the **[Block Kit Builder](https://api.slack.com/tools/block-kit-builder)** you can shuffle and stack blocks to quickly prototype app messages on Slack. When you're ready, we'll provide the message payload so all you have to do is copy and paste it into your app's code.
Copy file name to clipboardExpand all lines: tutorial/03-responding-to-slack-events.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ The code for this step is also available [here](/tutorial/PythOnBoardingBot).
10
10
slackclient>=2.0.0
11
11
certifi
12
12
```
13
-
> 💡 Certifi is a carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts. It has been extracted from the Requests project.
13
+
> 💡 **[Certifi](https://github.com/certifi/python-certifi)** is a carefully curated collection of Root Certificates for validating the trustworthiness of SSL certificates while verifying the identity of TLS hosts. It has been extracted from the Requests project.
14
14
15
15
- Next you can install those dependencies by running the following command from your terminal:
*Note:* We're using the `WebClient` to send messages into Slack.
65
+
**Note:** We're using the `WebClient` to send messages into Slack.
66
66
> 💡 **[WebClient](/slack/web/client.py)** A WebClient allows apps to communicate with the Slack Platform's Web API. This client handles constructing and sending HTTP requests to Slack as well as parsing any responses received into a `SlackResponse` dictionary-like object.
67
67
68
68
### Responding to events in Slack
@@ -177,10 +177,12 @@ Finally, we need to make our app runnable.
177
177
- 🏁 Add the following lines of code to the end of `app.py`.
**Note:** When running in a virtual environment you often need to specify the location of the SSL Certificate(`cacert.pem`). To make this easy we use Certifi's built-in `where()` function to locate the installed certificate authority (CA) bundle.
0 commit comments