def METHOD_NAME(self, message):
    cleaned_text, attachment_links = ChatManager._parse_rapidpro_message(message.text)
    message.text = cleaned_text
    message.update_or_create_attachments(attachment_links)
    message.save()