class_docstr: Example messenger onboarding that collects and returns data for use in the real task
  world.
class_docstr_tok: ["Example","messenger","onboarding","that","collects","and","returns","data","for","use","in","the","real","task","world","."]
code: def parley(self):
      if self.turn == 0:
          self.agent.observe(
              {
                  "id": "Onboarding",
                  "text": "Welcome to the onboarding world the onboarding "
                  "data demo.\nEnter your name.",
              }
          )
          a = self.agent.act()
          while a is None:
              a = self.agent.act()
          self.data["name"] = a["text"]
          self.turn = self.turn + 1
      elif self.turn == 1:
          self.agent.observe(
              {
                  "id": "Onboarding",
                  "text": "\nEnter your favorite color.",
              }
          )
          a = self.agent.act()
          while a is None:
              a = self.agent.act()
          self.data["color"] = a["text"]
          self.episodeDone = True
  
imports: from parlai.core.worlds import World
  from parlai.chat_service.services.messenger.worlds import OnboardWorld
label_desc: Use image node_id 4 for calling the MessengerOnboardDataOnboardWorld obj's underlying member method code with example usage: obj.parley() without return types