XEP 0085¶
-
class
slixmpp.plugins.xep_0085.
XEP_0085
(xmpp, config=None)[source]¶ XEP-0085 Chat State Notifications
-
stanza
= <module 'slixmpp.plugins.xep_0085.stanza' from '/home/docs/checkouts/readthedocs.org/user_builds/slixmpp/checkouts/slix-1.6.0/slixmpp/plugins/xep_0085/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 permissio
-
class
slixmpp.plugins.xep_0085.stanza.
ChatState
(xml=None, parent=None)[source]¶ Example chat state stanzas:
<message> <active xmlns="http://jabber.org/protocol/chatstates" /> </message> <message> <paused xmlns="http://jabber.org/protocol/chatstates" /> </message>
-
interfaces
= {'chat_state'}¶
-
is_extension
= True¶
-
name
= ''¶
-
namespace
= 'http://jabber.org/protocol/chatstates'¶
-
plugin_attrib
= 'chat_state'¶
-
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.
-
states
= {'active', 'composing', 'gone', 'inactive', 'paused'}¶
-
sub_interfaces
= {'chat_state'}¶
-