gozerbot.xmpp.namespace

define some xmpp constants.

CODE

# gozerbot/xmpp/namespace.py
#
#

""" define some xmpp constants. """

__status__ = "seen"

defines

attributes = {}
subelements = {}

attributes['message'] = ['type', 'from', 'to', 'id']
subelements['message'] = ['subject', 'body', 'error', 'html', 'thread', 'x']

attributes['presence'] = ['type', 'from', 'to', 'id']
subelements['presence'] = ['show', 'status', 'priority', 'x']


attributes['iq'] = ['type', 'from', 'to', 'id']
subelements['iq'] = ['query', 'error']

Table Of Contents

Previous topic

gozerbot.xmpp.monitor

Next topic

gozerbot.xmpp.presence

This Page