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 = []
评论列表
文章目录