You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: scheduled_reply.rb
    path of file: ./repos/stealth/lib/stealth
    
    the code of the file until where you have to start completion: # coding: utf-8
# frozen_string_literal: true

module Stealth

    
    def perform(service, user_id, flow, state, target_id=nil)
      service_message = ServiceMessage.new(service: service)
      service_message.sender_id = user_id
      service_message.target_id = target_id
      controller = BotController.new(service_message: service_message)
      controller.step_to(flow: flow, state: state)
    end