| 28 | self.document = self.document.replace('<replace_with_document_class_dont_remove>', '<div class="header"><div class="title">' + text + '</div></div><replace_with_document_class_dont_remove>') |
| 29 | |
| 30 | def incoming (self, text): #Creates a text box displaying an incoming message |
| 31 | if (self.chat_style == True): |
| 32 | self.document = self.document.replace('<replace_with_document_class_dont_remove>', '<div class="message"><div class="style incoming">' + text + '</div></div><replace_with_document_class_dont_remove>') |
| 33 | |
| 34 | def outgoing (self, text): #Creates a text box displaying an outgoing message |
| 35 | if (self.chat_style == True): |