66
69
def is_multipart(message):
67
70
return isinstance(message['body'], list)
69
def put_message(self, archive_id, message_id, message):
72
def put_message(self, archive_id, message_id, raw_message):
71
81
messages = self.message_archives[archive_id]
73
82
messages.append(json_message)
75
84
def get_messages(self, archive_id, query_string):