XEP 0184

1.6 Documentation

«  XEP 0172   ::   Contents   ::   XEP 0186  »

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 '/home/docs/checkouts/readthedocs.org/user_builds/slixmpp/checkouts/slix-1.6.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]
del_receipt()[source]
get_receipt()[source]
interfaces = {'receipt'}
is_extension = True
name = 'received'
namespace = 'urn:xmpp:receipts'
plugin_attrib = 'receipt'
set_receipt(value)[source]
setup(xml=None)[source]

Initialize the stanza’s XML contents.

Will return True if 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]
del_request_receipt()[source]
get_request_receipt()[source]
interfaces = {'request_receipt'}
is_extension = True
name = 'request'
namespace = 'urn:xmpp:receipts'
plugin_attrib = 'request_receipt'
set_request_receipt(val)[source]
setup(xml=None)[source]

Initialize the stanza’s XML contents.

Will return True if 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'}

«  XEP 0172   ::   Contents   ::   XEP 0186  »