Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed non-working drop_pending_updates in setWebhook and deleteWebhook #1226

Merged
merged 3 commits into from
Jun 20, 2021
Merged

Fixed non-working drop_pending_updates in setWebhook and deleteWebhook #1226

merged 3 commits into from
Jun 20, 2021

Conversation

TiiFuchs
Copy link
Member

As described in #1225 the setWebhook method filters the data array for allowed options, but doesn't allow drop_pending_updates. This PR fixes this.

@TiiFuchs
Copy link
Member Author

I added a solution for the related drop_pending_updates problem in deleteWebhook #1227

@TiiFuchs TiiFuchs changed the title Added drop_pending_updates to setWebhook Added drop_pending_updates to setWebhook and fixed it in deleteWebhook Jun 19, 2021
@TiiFuchs TiiFuchs changed the title Added drop_pending_updates to setWebhook and fixed it in deleteWebhook Fixed non-working drop_pending_updates in setWebhook and deleteWebhook Jun 19, 2021
@TiiFuchs TiiFuchs changed the title Fixed non-working drop_pending_updates in setWebhook and deleteWebhook drop_pending_updates does not work in setWebhook and deleteWebhook Jun 19, 2021
@TiiFuchs TiiFuchs changed the title drop_pending_updates does not work in setWebhook and deleteWebhook Fixed non-working drop_pending_updates in setWebhook and deleteWebhook Jun 19, 2021
@noplanman noplanman merged commit 998de91 into php-telegram-bot:develop Jun 20, 2021
@noplanman
Copy link
Member

Thanks @TiiFuchs 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants