slixmpp/examples/custom_stanzas/stanza.py

9 lines
248 B
Python
Raw Normal View History

2012-04-12 15:06:03 +00:00
from sleekxmpp.xmlstream import ElementBase
class Action(ElementBase):
name = 'action'
namespace = 'sleekxmpp:custom:actions'
plugin_attrib = 'action'
interfaces = set(('method', 'param', 'status'))
sub_interfaces = interfaces