def sendMessage(self, text, metadata):
        if metadata:
            d=self.account.client.perspective.directMessage(self.name,
                                                            text, metadata)
            d.addErrback(self.metadataFailed, "* "+text)
            return d
        else:
            return self.account.client.perspective.callRemote('directMessage',self.name, text)
Return a deferred...
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/im/pbsupport.py/TwistedWordsPerson.sendMessage