     /**
         NSAttributedString layout
     */
-    init(attributedText: NSAttributedString, date: Int64, isOut: Bool, peer: ACPeer, layoutKey: String = TextCellLayout.textKey) {
+    init(attributedText: NSAttributedString, textColor: UIColor, date: Int64, isOut: Bool, peer: ACPeer, layoutKey: String = TextCellLayout.textKey) {
         
         // Setting attributed text
         self.attrText = attributedText
+        self.textColor = textColor
         self.isUnsupported = false
         
         // Building padded text

        } else {
            
            // Creating attributed text layout
            self.init(attributedText: text.attributedText, date: date, isOut: isOut, peer: peer, layoutKey: layoutKey)
            
            // Setting source code references
            self.sources = text.code

    private static let parser = ARMarkdownParser(int: ARMarkdownParser_MODE_LITE)
    
    var text: String?
    var attrText: NSAttributedString?
    var textColor: UIColor
    
    var isUnsupported: Bool = false
    var textSizeWithPadding: CGSize
