远程机器人错误:ChatBoost 在无限轮询中缺少参数 - 与组限制相关?

问题描述 投票:0回答:1

我的 Python 远程机器人在几周内运行良好,但今天开始出现此错误:

(__init__.py:1021 MainThread) ERROR - TeleBot: "Infinity polling exception: ChatBoost.__init__() missing 3 required positional arguments: 'boost_id', 'add_date', and 'expiration_date'"

这可能与机器人所在的组数有关吗?当我运行

bot.infinity_polling()
bot.polling()

时出现此错误
python telegram telegram-bot python-telegram-bot telebot
1个回答
0
投票

这似乎是 pyTelegramBotAPI 中的一个错误。


这首先在讨论#2174中提到,现在在问题#2175中讨论。

原始海报

简单的重启似乎就解决了这个问题......

所以我建议更新到最新版本(如果可能)并重新启动机器人。

© www.soinside.com 2019 - 2024. All rights reserved.