python电报bot:&;=的操作数类型不受支持:';功能';和'_UpdateType';

python电报bot:&;=的操作数类型不受支持:';功能';和'_UpdateType';,python,telegram,traceback,operands,Python,Telegram,Traceback,Operands,当bot启动时,python电报bot库中会弹出一个错误 File "/usr/local/lib/python3.5/dist-packages/telegram/ext/messagehandler.py", line 131, in __init__ self.filters &= Filters.update TypeError: unsupported operand type(s) for &=: 'function' and '_UpdateType'

当bot启动时,python电报bot库中会弹出一个错误

  File "/usr/local/lib/python3.5/dist-packages/telegram/ext/messagehandler.py", line 131, in __init__
    self.filters &= Filters.update
TypeError: unsupported operand type(s) for &=: 'function' and '_UpdateType'
 unsupported operand type(s) for &=: 'function' and '_UpdateType'
在messagehandler.py中

    if message_updates is False and channel_post_updates is False and edited_updates is False:
        raise ValueError(
            'message_updates, channel_post_updates and edited_updates are all False')
    self.filters = filters
    if self.filters is not None:
        self.filters &= Filters.update
    else:
        self.filters = Filters.update

你能分享你的代码吗?