laravel-telegram-git-notifier icon indicating copy to clipboard operation
laravel-telegram-git-notifier copied to clipboard

Update webhook route - added bot username param

Open tanhongit opened this issue 1 year ago • 0 comments

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.

tanhongit avatar Jan 21 '24 02:01 tanhongit