channel.py 文件源码

python
阅读 30 收藏 0 点赞 0 评论 0

项目:telegram-autoposter 作者: vaniakosmos 项目源码 文件源码
def __init__(self, updater: Updater):
        """
        - name: name of channel in telegram. **Must** starts with "@".
        - label: identifier for channel. **Must** be unique.
        - pipe_classes:
        - commands_handlers: list of command handlers which would be attached when we need them and detached when we don't.

        :param updater: bot updater.
        """
        self.label = self.__class__.__name__
        self.updater = updater
        self.dispatcher = updater.dispatcher
        self.commands_handlers = []
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号