def __init__(self, channel_access_token): LineBotApi.__init__(self, channel_access_token) self._messages = []
def __init__(self, token, push): LineBotApi.__init__(self, token) self.token = token self.can_push = push #push權限
def __init__(self, access_token): LineBotApi.__init__(self, access_token)
def __init_all(self, access_token: str, secret: str): LineBotApi.__init__(self, access_token) MessageService.__init__(self) PollService.__init__(self, secret)
def __init__(self, channel_access_token: str) -> None: """ LineBotApiの継承 """ LineBotApi.__init__(self, channel_access_token)