commit
cebadf400d
@ -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. 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)
|
- 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)
|
- 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
|
!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
|
```json
|
||||||
{
|
{
|
||||||
"text": "Hello world!",
|
"text": "Hello world!",
|
||||||
|
Loading…
Reference in New Issue
Block a user