Procházet zdrojové kódy

quick typo

pull/389/head
iLyas Bakouch před 6 roky
committed by GitHub
rodič
revize
dc5eaddc3d
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. +3
    -3
      docs/configuring-playbook-bridge-appservice-webhooks.md

+ 3
- 3
docs/configuring-playbook-bridge-appservice-webhooks.md Zobrazit soubor

@@ -28,18 +28,18 @@ matrix_appservice_webhooks_log_level: '<log_level>'

4. If you're using the [Dimension Integration Manager](configuring-playbook-dimension.md), you can configure the Webhooks bridge by opening the Dimension integration manager -> Settings -> Bridges and selecting edit action for "Webhook Bridge". Press "Add self-hosted Bridge" button and populate "Provisioning URL" & "Shared Secret" values from `/matrix/appservice-webhooks/config/config.yaml` file's homeserver URL value and provisioning secret value, respectively.

4. Invite the bridge bot user to your room:
5. Invite the bridge bot user to your room:

- either with `/invite @_webhook:<domain.name>` (*Note*: Make sure you have administration permissions in your room)

- or simply add the bridge bot to a private channel (personal channels imply you being an administrator)

5. Send a message to the bridge bot in order to receive a private message including the webhook link.
6. Send a message to the bridge bot in order to receive a private message including the webhook link.
```
!webhook
```

6. The JSON body for posting messages will have to look like this:
7. The JSON body for posting messages will have to look like this:
```json
{
"text": "Hello world!",


Načítá se…
Zrušit
Uložit