Skip to content

Commit

Permalink
Updated documentation for initialMessageParsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Daniel Bennett committed Oct 22, 2020
1 parent 96b2e05 commit b9e7800
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions api/ECNQueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,16 +470,24 @@ def __assignmentParsing(self, contentStart) -> list:
def __initialMessageParsing(self, content: list) -> dict:
"""Returns a dictionary with initial message information
Example:
\n
Testtest\n
\n
Args:
content (list): content of the initial message
Returns:
dictionary:
dict:
"type": "initial_message",
"datetime": utcdate,
"datetime": datetime the initial message was sent,
"from_name": from_name,
"from_email": user_email,
"to": [{email, name}],
"cc": [{email, name}],
"subject": initial_message_subject
"content": ["message_content"]
"subject": initial message subject
"content": content of the initial message
"""
initialMessageDictionary = {}

Expand Down

0 comments on commit b9e7800

Please sign in to comment.