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

            
            // When not reusing force to relayout view
            needRelayout = true
            
            if self.cellLayout.text != nil {
                // Setting text
                messageText.text = self.cellLayout.text
                
                // Setting text's font size and color
                if (isOut) {
                    messageText.textColor = MainAppTheme.bubbles.textOut
                } else {
                    messageText.textColor = MainAppTheme.bubbles.textIn
                }
            } else {
                // Setting attributed text
                messageText.setText(self.cellLayout.attrText)
                
                // No need to set text color and font as it is specified
                // in NSAttributed string
            }
            
            // Setting sender name if needed

    /**
        NSAttributedString layout
    */
    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
