def kick_chat_member(self, chat_id, user_id):
     """
     Use this method to kick a user from a group or a supergroup.
     :param chat_id: Int or string : Unique identifier for the target group or username of the target supergroup
     :param user_id: Int : Unique identifier of the target user
     :return: types.Message
     """
     return apihelper.kick_chat_member(self.token, chat_id, user_id)
Exemple #2
0
 def kick_chat_member(self, chat_id, user_id):
     """
     Use this method to kick a user from a group or a supergroup.
     :param chat_id: Int or string : Unique identifier for the target group or username of the target supergroup
     :param user_id: Int : Unique identifier of the target user
     :return: types.Message
     """
     return apihelper.kick_chat_member(self.token, chat_id, user_id)