     public let fileName: String
     public let fileExt: String
     public let fileSize: String
+    public var voiceDuration: String!
     
     /**
      Creting layout for media bubble
      */
-    public init(fileName: String, fileExt: String, fileSize: Int,id: Int64, date: Int64, autoDownload: Bool) {
+    public init(fileName: String, fileExt: String, fileSize: Int,id: Int64, date: Int64, autoDownload: Bool,duration:jint) {
         
         // Saving content size
         self.contentSize = CGSizeMake(200, 66)

            }
            
            titleLabel.text = "Voice message"
            sizeLabel.text = bindedLayout.fileSize
            
            // Reset progress
            self.progress.hideButton()

    public convenience init(id: Int64, voiceContent: ACVoiceContent, date: Int64) {
        
        
        self.init(fileName: voiceContent.getName(), fileExt: voiceContent.getExt(), fileSize: Int(voiceContent.getSource().getSize()),id: id, date: date, autoDownload: true,duration:voiceContent.getDuration())
    }
    
    
