parameters: (msg)
docstring: Queues the passed in message for handling in mailroom
docstring_summary: Queues the passed in message for handling in mailroom
docstring_tokens: Queues the passed in message for handling in mailroom
function: def queue_msg_handling(msg):
      """
      Queues the passed in message for handling in mailroom
      """
  
      msg_task = {
          "org_id": msg.org_id,
          "channel_id": msg.channel_id,
          "contact_id": msg.contact_id,
          "msg_id": msg.id,
          "msg_uuid": str(msg.uuid),
          "msg_external_id": msg.external_id,
          "urn": str(msg.contact_urn),
          "urn_id": msg.contact_urn_id,
          "text": msg.text,
          "attachments": msg.attachments,
          "new_contact": False,  # only used by courier
      }
  
      _queue_handler_task(msg.org_id, msg.contact_id, ContactEvent.MSG, msg_task)
function_tokens: def queue_msg_handling ( msg ) : msg_task = { "org_id" : msg . org_id , "channel_id" : msg . channel_id , "contact_id" : msg . contact_id , "msg_id" : msg . id , "msg_uuid" : str ( msg . uuid ) , "msg_external_id" : msg . external_id , "urn" : str ( msg . contact_urn ) , "urn_id" : msg . contact_urn_id , "text" : msg . text , "attachments" : msg . attachments , "new_contact" : False , # only used by courier } _queue_handler_task ( msg . org_id , msg . contact_id , ContactEvent . MSG , msg_task )