code: def kick_chat_member(chat_id, user_id, until_date=None, **kwargs):
      
  
      # required args
      params = dict(
          chat_id=chat_id,
          user_id=user_id,
      )
  
      # optional args
      params.update(
          _clean_params(
              until_date=until_date
          )
      )
  
      return TelegramBotRPCRequest('kickChatMember', params=params, on_result=lambda result: result, **kwargs)
docs: Use this method to kick a user from a group or a supergroup. In the case of supergroups, the user will not
      be able to return to the group on their own using invite links, etc., unless unbanned first. The bot must
      be an administrator in the group for this to work. Returns True on success.
  
      Note: This will method only work if the ‘All Members Are Admins’ setting is off in the target group. Otherwise
      members may only be removed by the group's creator or by the member that added them.
  
      :param chat_id: Unique identifier for the target chat or username of the target channel (in the format @channelusername)
      :param user_id: Unique identifier of the target user
      :param until_date: *Optional.* Date when the user will be unbanned, unix time. If user is banned for more than 366 days or less than 30 seconds
                      from the current time they are considered to be banned forever
      :param kwargs: Args that get passed down to :class:`TelegramBotRPCRequest`
  
      :type chat_id: int or str
      :type user_id: int
  
      :returns: Returns True on success.
      :rtype: bool