                         msg.height = json["height"].int
                     }
                     msg.src = json["src"].string
+                
                 case "image":
                     msg.type = .Image
                     if let stringWidth = json["width"].string {

        
        if let type = json["type"].string {
            switch type {
                case "gif":
                    msg.type = .GIF
                    if let stringWidth = json["width"].string {

    case Shout
    case Video
    case Drawing
    case Location
    case Music
    case Link
    
    public var stringValue: String {
        switch self {
