コード例 #1
0
 def leave_chat(self, chat_id):
     """
     Use this method for your bot to leave a group, supergroup or channel. Returns True on success.
     :param chat_id:
     :return:
     """
     result = apihelper.leave_chat(self.token, chat_id)
     return result
コード例 #2
0
 def leave_chat(self, chat_id):
     """
     Use this method for your bot to leave a group, supergroup or channel. Returns True on success.
     :param chat_id:
     :return:
     """
     result = apihelper.leave_chat(self.token, chat_id)
     return result