XEP 0184¶
-
class
slixmpp.plugins.xep_0184.XEP_0184(xmpp, config=None)[source]¶ XEP-0184: Message Delivery Receipts
-
ack(msg)[source]¶ Acknowledge a message by sending a receipt.
- Arguments:
msg – The message to acknowledge.
-
stanza= <module 'slixmpp.plugins.xep_0184.stanza' from '/build/slixmpp-bP7NsY/slixmpp-1.7.0/slixmpp/plugins/xep_0184/stanza.py'>¶
-
Stanza elements¶
Slixmpp: The Slick XMPP Library Copyright (C) 2012 Erik Reuterborg Larsson, Nathanael C. Fritz This file is part of Slixmpp.
See the file LICENSE for copying permission.
-
class
slixmpp.plugins.xep_0184.stanza.Received(xml=None, parent=None)[source]¶ -
-
interfaces= {'receipt'}¶
-
is_extension= True¶
-
name= 'received'¶
-
namespace= 'urn:xmpp:receipts'¶
-
plugin_attrib= 'receipt'¶
-
setup(xml=None)[source]¶ Initialize the stanza’s XML contents.
Will return
Trueif XML was generated according to the stanza’s definition instead of building a stanza object from an existing XML object.- Parameters
xml – An existing XML object to use for the stanza’s content instead of generating new XML.
-
sub_interfaces= {'receipt'}¶
-
-
class
slixmpp.plugins.xep_0184.stanza.Request(xml=None, parent=None)[source]¶ -
-
interfaces= {'request_receipt'}¶
-
is_extension= True¶
-
name= 'request'¶
-
namespace= 'urn:xmpp:receipts'¶
-
plugin_attrib= 'request_receipt'¶
-
setup(xml=None)[source]¶ Initialize the stanza’s XML contents.
Will return
Trueif XML was generated according to the stanza’s definition instead of building a stanza object from an existing XML object.- Parameters
xml – An existing XML object to use for the stanza’s content instead of generating new XML.
-
sub_interfaces= {'request_receipt'}¶
-