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: publish_auto_removed_user.rb
    path of file: ./repos/discourse/plugins/chat/app/services/chat/action
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Chat
  module A
    
      def self.call(event_type:, users_removed_map:)
        return if users_removed_map.empty?

        users_removed_map.each do |channel_id, user_ids|
          job_spacer = JobTimeSpacer.new
          user_ids.in_groups_of(1000, false) do |user_id_batch|
            job_spacer.enqueue(
              Jobs::Chat::KickUsersFromChannel,
              { channel_id: channel_id, user_ids: user_id_batch },
            )
          end

          if user_ids.any?
            StaffActionLogger.new(Discourse.system_user).log_custom(
              "chat_auto_remove_membership",
              { users_removed: user_ids.length, channel_id: channel_id, event: event_type },
            )
          end
        end