MCPcopy Create free account
hub / github.com/ehForwarderBot/ehForwarderBot / __init__

Method __init__

ehforwarderbot/chat.py:706–717  ·  view source on GitHub ↗
(self, *, channel: Optional[SlaveChannel] = None, middleware: Optional[Middleware] = None,
                 module_name: str = "", channel_emoji: str = "", module_id: ModuleID = ModuleID(""), name: str = "",
                 alias: Optional[str] = None, id: ChatID = ChatID(""), uid: ChatID = ChatID(""),
                 vendor_specific: Dict[str, Any] = None,
                 description: str = "", notification: ChatNotificationState = ChatNotificationState.ALL,
                 with_self: bool = True)

Source from the content-addressed store, hash-verified

704 other: SystemChatMember
705
706 def __init__(self, *, channel: Optional[SlaveChannel] = None, middleware: Optional[Middleware] = None,
707 module_name: str = "", channel_emoji: str = "", module_id: ModuleID = ModuleID(""), name: str = "",
708 alias: Optional[str] = None, id: ChatID = ChatID(""), uid: ChatID = ChatID(""),
709 vendor_specific: Dict[str, Any] = None,
710 description: str = "", notification: ChatNotificationState = ChatNotificationState.ALL,
711 with_self: bool = True):
712 super().__init__(channel=channel, middleware=middleware, module_name=module_name, channel_emoji=channel_emoji,
713 module_id=module_id, name=name, alias=alias, id=id, uid=uid, vendor_specific=vendor_specific,
714 description=description, notification=notification, with_self=with_self)
715 self.other = self.add_system_member(name=name, alias=alias, id=id, uid=uid, vendor_specific=vendor_specific,
716 description=description)
717 self.verify()
718
719 def verify(self):
720 super().verify()

Callers

nothing calls this directly

Calls 3

verifyMethod · 0.95
add_system_memberMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected