ehForwarderBot / efb-telegram-master

EFB Telegram Master Channel, a channel for EH Forwarder Bot.
GNU Affero General Public License v3.0
223 stars 78 forks source link

remove bot.set_webhook #113

Closed JamzumSum closed 2 years ago

JamzumSum commented 2 years ago

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)

blueset commented 2 years ago

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