Closed JamzumSum closed 3 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
updater.start_webhook
bot.set_webhook
Thus users needn't a config dict named webhook.set_webhook, but a config named webhook.start_webhook only.
webhook.set_webhook
webhook.start_webhook
(BTW, document about webhook is missing)
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
Since PTB 13.4,
updater.start_webhook
always callsbot.set_webhook
. There is no need to call it manually. See PTB doc hereThus users needn't a config dict named
webhook.set_webhook
, but a config namedwebhook.start_webhook
only.(BTW, document about webhook is missing)