code: def get_minimal_id(self):
          
  
          if not self.__response:
              raise TwitterSearchException(1013)
  
          return min(
              self.__response['content']['statuses'] if self.__order_is_search
              else self.__response['content'],
              key=lambda i: i['id']
              )['id'] - 1
docs: Returns the minimal tweet ID of the current response
  
          :returns: minimal tweet identification number
          :raises: TwitterSearchException