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

remove bot.set_webhook #113

Merged
merged 1 commit into from Nov 20, 2021
Merged

remove bot.set_webhook #113

merged 1 commit into from Nov 20, 2021

Conversation

JamzumSum
Copy link
Contributor

Since PTB 13.4, updater.start_webhook always calls bot.set_webhook. There is no need to call it manually.
See PTB doc here

Thus users needn't a config dict named webhook.set_webhook, but a config named webhook.start_webhook only.

(BTW, document about webhook is missing)

remove bot.set_webhook
@blueset
Copy link
Member

blueset commented Nov 20, 2021

Nice catch.

The docs for webhook can be found in the wiki. I’ll add a link to the README file.
https://github.com/ehForwarderBot/efb-telegram-master/wiki/Setup-Webhook

@blueset blueset merged commit 10d6d42 into ehForwarderBot:master Nov 20, 2021
YouXam pushed a commit to YouXam/efb-telegram-master that referenced this pull request Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants