(event)
return []
The content_types supported here are the only ones used by the MessagingSubEvent
    model. Other content types such as CONTENT_CHAT_SMS are used by the MessagingEvent model.
The content_types supported here are the only ones used by the MessagingSubEvent
    model. Other content types such as CONTENT_CHAT_SMS are used by the MessagingEvent model.
The content_types supported here are the only ones used by the MessagingSubEvent model . Other content types such as CONTENT_CHAT_SMS are used by the MessagingEvent model .
def _serialize_event_messages(event):
    """The content_types supported here are the only ones used by the MessagingSubEvent
    model. Other content types such as CONTENT_CHAT_SMS are used by the MessagingEvent model.
    """
    if event.content_type == MessagingEvent.CONTENT_EMAIL:
        return _get_messages_for_email(event)

    if event.content_type in (MessagingEvent.CONTENT_SMS, MessagingEvent.CONTENT_SMS_CALLBACK):
        return _get_messages_for_sms(event)

    if event.content_type in (MessagingEvent.CONTENT_SMS_SURVEY, MessagingEvent.CONTENT_IVR_SURVEY):
        return _get_messages_for_survey(event)
    return []
def _serialize_event_messages ( event ) : if event . content_type == MessagingEvent . CONTENT_EMAIL : return _get_messages_for_email ( event ) if event . content_type in ( MessagingEvent . CONTENT_SMS , MessagingEvent . CONTENT_SMS_CALLBACK ) : return _get_messages_for_sms ( event ) if event . content_type in ( MessagingEvent . CONTENT_SMS_SURVEY , MessagingEvent . CONTENT_IVR_SURVEY ) : return _get_messages_for_survey ( event ) return [ ]