|
|
__init__(self,
to=None,
body=None,
typ=None,
subject=None,
attrs={},
frm=None,
payload=[],
timestamp=None,
xmlns='jabber:client',
node=None)
Create message object. |
source code
|
|
|
|
|
|
|
getSubject(self)
Returns subject of the message. |
source code
|
|
|
|
getThread(self)
Returns thread of the message. |
source code
|
|
|
|
setBody(self,
val)
Sets the text of the message. |
source code
|
|
|
|
setSubject(self,
val)
Sets the subject of the message. |
source code
|
|
|
|
setThread(self,
val)
Sets the thread of the message. |
source code
|
|
|
|
|
|
Inherited from Protocol:
__setitem__,
getError,
getErrorCode,
getFrom,
getID,
getProperties,
getTimestamp,
getTo,
getType,
setError,
setFrom,
setID,
setTimestamp,
setTo,
setType
Inherited from simplexml.Node:
__delitem__,
__getattr__,
__getitem__,
__str__,
addChild,
addData,
clearData,
delAttr,
delChild,
getAttr,
getAttrs,
getCDATA,
getChildren,
getData,
getName,
getNamespace,
getParent,
getPayload,
getTag,
getTagAttr,
getTagData,
getTags,
has_attr,
setAttr,
setData,
setName,
setNamespace,
setParent,
setPayload,
setTag,
setTagAttr,
setTagData
|