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

                        msg.height = json["height"].int
                    }
                    msg.src = json["src"].string
                default:
                    msg.type = .Text
                    msg.text = json["text"].string
                    break

            return "Video"
        case .Drawing:
            return "Drawing"
        case .Location:
            return "Location"
        case .Music:
            return "Music"
        case .Link:
            return "Link"
        }
    }
    
