code: def to_message(self):
          
          my_message = m.Message()
          if self.static_message is not None:
              my_message.add(self.static_message)
          for myDynamic in self.dynamic_messages:
              my_message.add(myDynamic)
          return my_message
docs: Collate all message elements to a single message.