395
418
Protocol.__init__(self, 'message', to=to, typ=typ, attrs=attrs, frm=frm, payload=payload, timestamp=timestamp, xmlns=xmlns, node=node)
396
419
if body: self.setBody(body)
397
420
if xhtml: self.setXHTML(xhtml)
400
423
""" Returns text of the message. """
401
424
return self.getTagData('body')