misc – Miscellaneous XSOs

This subpackage bundles XSO definitions for several XEPs. They do not get their own subpackage because they often only define one or two XSOs without any logic involved. The XSOs are often intended for re-use by other protocols.

Out of Band Data (XEP-0066)

class aioxmpp.misc.OOBExtension(*args, **kwargs)[source]
aioxmpp.Message.xep0066_oob

Delayed Delivery (XEP-0203)

class aioxmpp.misc.Delay[source]

A marker indicating delayed delivery of a stanza.

from_

The address as aioxmpp.JID of the entity where the stanza was delayed. May be None.

stamp

The timestamp (as datetime.datetime) at which the stanza was originally sent or intended to be sent.

reason

The reason for which the stanza was delayed or None.

Warning

Please take the security considerations of XEP-0203 into account.

aioxmpp.Message.xep0203_delay

A Delay instance which indicates that the message has been delivered with delay.

Stanza Forwarding (XEP-0297)

class aioxmpp.misc.Forwarded[source]

Wrap a stanza for forwarding.

delay

If not None, this is a aioxmpp.misc.Delay XSO which indicates the timestamp at which the wrapped stanza was originally sent.

stanza

The forwarded stanza.

Warning

Please take the security considerations of XEP-0297 and the protocol using this XSO into account.

Chat Markers (XEP-0333)

class aioxmpp.misc.ReceivedMarker(*args, **kwargs)[source]
class aioxmpp.misc.DisplayedMarker(*args, **kwargs)[source]
class aioxmpp.misc.AcknowledgedMarker(*args, **kwargs)[source]
aioxmpp.Message.xep0333_marker

Pre-Authenticated Roster Subcription (XEP-0379)

class aioxmpp.misc.Preauth(*args, **kwargs)[source]

The preauth element for Pre-Authenticated Roster Subcription.

token

The pre-auth token associated with this subscription request.

aioxmpp.Presence.xep0379_preauth

The pre-auth element associate with a subscription request.