Skip to content

Commit ec435e0

Browse files
committed
fix: readme
1 parent 1efe7f7 commit ec435e0

1 file changed

Lines changed: 23 additions & 19 deletions

File tree

README.md

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -235,27 +235,31 @@ docker-compose up
235235

236236
## Webhook Routes
237237
When enabling the WEBHOOK_BY_EVENTS options in the global and local webhooks, the following paths will be added at the end of the webhook.
238+
<br><br>
239+
Example:
238240

239-
| Name | Route |
241+
https://sub.domain.com/webhook-test/exclusive-webhook-code/qrcode-updated
242+
243+
| Name | Path |
240244
|------|-------|
241-
| APPLICATION_STARTUP | https://url_webhook/application-startup |
242-
| QRCODE_UPDATED | https://url_webhook/qrcode-updated |
243-
| CONNECTION_UPDATE | https://url_webhook/connection-update |
244-
| MESSAGES_SET | https://url_webhook/messages-set |
245-
| MESSAGES_UPSERT | https://url_webhook/messages-upsert |
246-
| MESSAGES_UPDATE | https://url_webhook/messages-update |
247-
| SEND_MESSAGE | https://url_webhook/send-message |
248-
| CONTACTS_SET | https://url_webhook/contacts-set |
249-
| CONTACTS_UPSERT | https://url_webhook/contacts-upsert |
250-
| CONTACTS_UPDATE | https://url_webhook/contacts-update |
251-
| PRESENCE_UPDATE | https://url_webhook/presence-update |
252-
| CHATS_SET | https://url_webhook/chats-set |
253-
| CHATS_UPDATE | https://url_webhook/chats-update |
254-
| CHATS_UPSERT | https://url_webhook/chats-upsert |
255-
| GROUPS_UPSERT | https://url_webhook/groups-upsert |
256-
| GROUPS_UPDATE | https://url_webhook/groups-update |
257-
| GROUP_PARTICIPANTS_UPDATE | https://url_webhook/groups-participants-update |
258-
| NEW_TOKEN | https://url_webhook/new-token |
245+
| APPLICATION_STARTUP | /application-startup |
246+
| QRCODE_UPDATED | /qrcode-updated |
247+
| CONNECTION_UPDATE | /connection-update |
248+
| MESSAGES_SET | /messages-set |
249+
| MESSAGES_UPSERT | /messages-upsert |
250+
| MESSAGES_UPDATE | /messages-update |
251+
| SEND_MESSAGE | /send-message |
252+
| CONTACTS_SET | /contacts-set |
253+
| CONTACTS_UPSERT | /contacts-upsert |
254+
| CONTACTS_UPDATE | /contacts-update |
255+
| PRESENCE_UPDATE | /presence-update |
256+
| CHATS_SET | /chats-set |
257+
| CHATS_UPDATE | /chats-update |
258+
| CHATS_UPSERT | /chats-upsert |
259+
| GROUPS_UPSERT | /groups-upsert |
260+
| GROUPS_UPDATE | /groups-update |
261+
| GROUP_PARTICIPANTS_UPDATE | /groups-participants-update |
262+
| NEW_TOKEN | /new-token |
259263
## Env File
260264

261265
See additional settings that can be applied through the **env** file by clicking **[here](./src/dev-env.yml)**.

0 commit comments

Comments
 (0)