XEP 0224¶
-
class
slixmpp.plugins.xep_0224.
XEP_0224
(xmpp, config=None)[source]¶ XEP-0224: Attention
-
request_attention
(to, mfrom=None, mbody='')[source]¶ Send an attention message with an optional body.
- Arguments:
to – The attention request recipient’s JID. mfrom – Optionally specify the sender of the attention request. mbody – An optional message body to include in the request.
-
stanza
= <module 'slixmpp.plugins.xep_0224.stanza' from '/home/docs/checkouts/readthedocs.org/user_builds/slixmpp/checkouts/slix-1.6.0/slixmpp/plugins/xep_0224/stanza.py'>¶
-
Stanza elements¶
Slixmpp: The Slick XMPP Library Copyright (C) 2011 Nathanael C. Fritz, Lance J.T. Stout This file is part of Slixmpp.
See the file LICENSE for copying permission.
-
class
slixmpp.plugins.xep_0224.stanza.
Attention
(xml=None, parent=None)[source]¶ -
-
interfaces
= {'attention'}¶
-
is_extension
= True¶
-
name
= 'attention'¶
-
namespace
= 'urn:xmpp:attention:0'¶
-
plugin_attrib
= 'attention'¶
-
setup
(xml)[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.
-