laravel-telegram-git-notifier
laravel-telegram-git-notifier copied to clipboard
Update webhook route - added bot username param
Currently, the route used to set webhooks allows receiving events from github and gitlab: https://github.com/cslant/laravel-telegram-git-notifier/blob/6618e27d4b981edb6f0d4857f6a74ebc60906e99/routes/bot.php#L21
I need to pass the bot's username to distinguish each individual bot in the upcoming multiple bot feature.
Example: {bot_username} or {username}
And handle the logic to differentiate for each bot.