# 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 permissioimportslixmppfromslixmpp.xmlstreamimportElementBase,ET
[docs]classChatState(ElementBase):""" Example chat state stanzas: :: <message> <active xmlns="http://jabber.org/protocol/chatstates" /> </message> <message> <paused xmlns="http://jabber.org/protocol/chatstates" /> </message> """name=''namespace='http://jabber.org/protocol/chatstates'plugin_attrib='chat_state'interfaces={'chat_state'}sub_interfaces=interfacesis_extension=Truestates={'active','composing','gone','inactive','paused'}