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

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

        
        // Creating layout
        super.init(height: self.screenSize.height + 2, date: date, key: "voice")
        
        self.voiceDuration = getTimeString(Int(duration))
    }
    
    func getTimeString(totalSeconds:Int) -> String {
        
        let seconds = Int(totalSeconds % 60)
        let minutes = Int((totalSeconds / 60) % 60)
        
        if minutes < 10 {
            if seconds < 10 {
                return "0\(minutes):0\(seconds)"
            } else {
                return "0\(minutes):\(seconds)"
            }
        } else {
            if seconds < 10 {
                return "\(minutes):0\(seconds)"
            } else {
                return "\(minutes):\(seconds)"
            }
        }
        
    }
    
    /**
