irazasyed / telegram-bot-sdk

🤖 Telegram Bot API PHP SDK. Lets you build Telegram Bots easily! Supports Laravel out of the box.
https://telegram-bot-sdk.com
BSD 3-Clause "New" or "Revised" License
3k stars 662 forks source link

allowed_updates webhook #1115

Closed AgelxNash closed 6 months ago

AgelxNash commented 7 months ago

This update allows you to control updates received from web-hook

https://core.telegram.org/bots/api#setwebhook

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 16.66667% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 42.27%. Comparing base (40fc0bd) to head (55d18e9).

Files Patch % Lines
src/Laravel/Artisan/WebhookCommand.php 0.00% 3 Missing :warning:
src/Laravel/config/telegram.php 0.00% 1 Missing :warning:
src/Methods/Update.php 50.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## 3.x #1115 +/- ## ============================================ - Coverage 42.35% 42.27% -0.09% - Complexity 603 605 +2 ============================================ Files 130 130 Lines 1773 1779 +6 ============================================ + Hits 751 752 +1 - Misses 1022 1027 +5 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

irazasyed commented 6 months ago

Thanks for the PR. Please add missing tests.