File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -8,17 +8,20 @@ This document describes the flow of sending notifications in the Telegram Git No
88
99The user adds the bot URL to the git repository webhook. The bot URL is the URL of the bot server.
1010
11+ Example: ` https://localhost:8000/telegram-git-notifier/ `
12+
1113### The git repository sends a webhook to the bot
1214
1315The git repository sends a webhook to the bot if any event occurs. The webhook contains the event details.
1416
1517### The bot processes the webhook message
1618
17- The bot will receive the webhook message and process it. The bot will check the validity of the webhook message.
19+ When an application receives a webhook message from the git repository, the bot processes the webhook message.
20+ It checks if the webhook is set or not. If the event has any actions and the event is allowed notify in the settings, etc.
1821
1922### The bot gets the message details if the event is valid
2023
21- If the event is valid, the bot will get the message details of this event and set the message details to the message
24+ If the event/action is valid, the bot will get the message details of this event/action and set the message details to the message
2225object.
2326
2427### The bot sends a notification
You can’t perform that action at this time.
0 commit comments