| 
  Initialize a Message object.| __init__(self,
        xmlnode=None,
        from_jid=None,
        to_jid=None,
        stanza_type=None,
        stanza_id=None,
        subject=None,
        body=None,
        thread=None,
        error=None,
        error_cond=None,
        stream=None)
    (Constructor)
 | source code |  
    Parameters:
        xmlnode(unicodeorlibxml2.xmlNodeor Stanza) - XML node to_jid be wrapped into the Message object
or other Message object to be copied. If not given then new
presence stanza is created using following parameters.from_jid(JID) - sender JID.to_jid(JID) - recipient JID.stanza_type(unicode) - staza type: one of: "get", "set", "result" or "error".stanza_id(unicode) - stanza id -- value of stanza's "id" attribute. If not
given, then unique for the session value is generated.subject(unicode) - message subject,body(unicode) - message body.thread(unicode) - message thread id.error_cond(unicode) - error condition name. Ignored if stanza_type is not "error".Overrides:
        stanza.Stanza.__init__
     |