MCPcopy Index your code
hub / github.com/RobinMeis/Siri-API / outgoing

Method outgoing

document.py:34–36  ·  view source on GitHub ↗
(self, text)

Source from the content-addressed store, hash-verified

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):
36 self.document = self.document.replace('<replace_with_document_class_dont_remove>', '<div class="message"><div class="style outgoing">' + text + '</div></div><replace_with_document_class_dont_remove>')
37
38 def redirect (self, target): #Redirects to a HTTP target. Generated HTML will be deleted and locked
39 self.chat_style = False

Callers 3

no_actionMethod · 0.80
hansMethod · 0.80
lightMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected