docstr: Adds next story steps with the specified list of events.
  
  Args:
      events: Events that need to be added.
docstr_tok: ["Adds","next","story","steps","with","the","specified","list","of","events",".","Args",":","events",":","Events","that","need","to","be","added","."]
code: def add_events(self, events: List[Event]) -> None:
      """Adds next story steps with the specified list of events.
  
      Args:
          events: Events that need to be added.
      """
      self.ensure_current_steps()
  
      if len(events) == 1:
          # If there is only one possible event, we'll keep things simple
          for t in self.current_steps:
              t.add_event(events[0])
      else:
          # If there are multiple different events the
          # user can use the express the same thing
          # we need to copy the blocks and create one
          # copy for each possible message
          generated_checkpoint = (
              self._generate_checkpoint_name_for_or_statement(events)
          )
          updated_steps = []
          for t in self.current_steps:
              for event in events:
                  copied = t.create_copy(use_new_id=True)
                  copied.add_event(event)
                  copied.end_checkpoints = [
                      Checkpoint(generated_checkpoint)
                  ]
                  updated_steps.append(copied)
          self.current_steps = updated_steps
  
file_path: rasa/rasa/shared/core/training_data/story_reader/story_step_builder.py
imports: import logging
  from typing import Text, Optional, Dict, Any, List
  import rasa.shared.core.training_data.structures
  import rasa.shared.utils.io
  from rasa.shared.constants import DOCS_URL_STORIES
  from rasa.shared.core.events import UserUttered, Event
  from rasa.shared.core.training_data.structures import Checkpoint, GENERATED_CHECKPOINT_PREFIX, GENERATED_HASH_LENGTH, STORY_START, StoryStep, RuleStep
label_desc: Use image node_id 5 for calling the StoryStepBuilder obj's underlying member method code with example usage: obj.add_events(events) without return types