def init(self):
token = self.config.get('token')
self.bot = telebot.TeleBot(token)
self.telegram_cache = JSONFile(create_file(os.path.join(get_var_directory(), 'telegram-cache.json'), {
'chat_ids': {},
'version': __version__,
}))
# print([vars(u.message.chat) for u in updates])
评论列表
文章目录