class_docstr: Base class for a person on messenger that can act in a ParlAI world.
class_docstr_tok: ["Base","class","for","a","person","on","messenger","that","can","act","in","a","ParlAI","world","."]
code: def __init__(self, opt, manager, task_id, receiver_id, page_id):
      super().__init__(opt, manager, receiver_id, task_id)
      self.active = True
      self.disp_id = "NewUser"
      self.message_partners = []
      self.page_id = page_id
      self.data["allow_images"] = opt.get("allow_images", False)
  
file_path: ParlAI/parlai/chat_service/services/messenger/agents.py
imports: import time
  from parlai.chat_service.core.agents import ChatServiceAgent
label_desc: Use image node_id 1 to create a new MessengerAgent object from inherited base classes: ChatServiceAgent with example: obj = MessengerAgent(opt, manager, task_id, receiver_id, page_id)