slixmpp/docs/event_index.rst

582 lines
18 KiB
ReStructuredText
Raw Permalink Normal View History

2011-08-13 00:33:32 +00:00
Event Index
===========
2021-02-06 19:01:02 +00:00
Slixmpp relies on events and event handlers to act on received data from
the server. Some of those events come from the very base of Slixmpp such
as :class:`~.BaseXMPP` or :class:`~.XMLStream`, while most of them are
emitted from plugins which add their own listeners.
There are often multiple events running for a single stanza, with
different levels of granularity, so code must take care of not
processing the same stanza twice.
2011-08-13 00:33:32 +00:00
.. glossary::
:sorted:
connected
- **Data:** ``{}``
2021-02-06 19:01:02 +00:00
- **Source:** :py:class:`~.xmlstream.XMLstream`
2011-08-13 00:33:32 +00:00
Signal that a connection has been made with the XMPP server, but a session
has not yet been established.
2013-03-28 18:09:02 +00:00
connection_failed
- **Data:** ``{}`` or ``Failure Stanza`` if available
2021-02-06 19:01:02 +00:00
- **Source:** :py:class:`~.xmlstream.XMLstream`
2013-03-28 18:09:02 +00:00
Signal that a connection can not be established after number of attempts.
2011-08-13 00:33:32 +00:00
changed_status
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.roster.item.RosterItem`
2011-08-13 00:33:32 +00:00
Triggered when a presence stanza is received from a JID with a show type
different than the last presence stanza from the same JID.
changed_subscription
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.BaseXMPP`
2011-08-13 00:33:32 +00:00
Triggered whenever a presence stanza with a type of ``subscribe``,
``subscribed``, ``unsubscribe``, or ``unsubscribed`` is received.
Note that if the values ``xmpp.auto_authorize`` and ``xmpp.auto_subscribe``
2021-02-06 19:01:02 +00:00
are set to ``True`` or ``False``, and not ``None``, then will
2011-08-13 00:33:32 +00:00
either accept or reject all subscription requests before your event handlers
are called. Set these values to ``None`` if you wish to make more complex
subscription decisions.
chatstate_active
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0085`
When a message containing an ``<active/>`` chatstate is received.
2011-08-13 00:33:32 +00:00
chatstate_composing
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0085`
When a message containing a ``<composing/>`` chatstate is received.
2011-08-13 00:33:32 +00:00
chatstate_gone
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0085`
When a message containing a ``<gone/>`` chatstate is received.
2011-08-13 00:33:32 +00:00
chatstate_inactive
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0085`
When a message containing an ``<inactive/>`` chatstate is received.
2011-08-13 00:33:32 +00:00
chatstate_paused
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0085`
When a message containing a ``<paused/>`` chatstate is received.
2011-08-13 00:33:32 +00:00
disco_info
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.DiscoInfo`
- **Source:** :py:class:`~.disco.XEP_0030`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
Triggered whenever a ``disco#info`` result stanza is received.
disco_items
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.DiscoItems`
- **Source:** :py:class:`~.disco.XEP_0030`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
Triggered whenever a ``disco#items`` result stanza is received.
disconnected
2021-02-06 19:01:02 +00:00
- **Data:** ``str``, the reason for the disconnect (if any)
- **Source:** :py:class:`~.XMLstream`
2013-03-28 18:09:02 +00:00
2011-08-13 00:33:32 +00:00
Signal that the connection with the XMPP server has been lost.
failed_auth
- **Data:** ``{}``
2021-02-06 19:01:02 +00:00
- **Source:** :py:class:`~.ClientXMPP`, :py:class:`~.XEP_0078`
2011-08-13 00:33:32 +00:00
Signal that the server has rejected the provided login credentials.
gmail_notify
- **Data:** ``{}``
2021-02-06 19:01:02 +00:00
- **Source:** :py:class:`~.plugins.gmail_notify.gmail_notify`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
Signal that there are unread emails for the Gmail account associated with the current XMPP account.
gmail_messages
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Iq`
- **Source:** :py:class:`~.plugins.gmail_notify.gmail_notify`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
Signal that there are unread emails for the Gmail account associated with the current XMPP account.
got_online
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.roster.item.RosterItem`
2013-03-28 18:09:02 +00:00
2011-08-13 00:33:32 +00:00
If a presence stanza is received from a JID which was previously marked as
offline, and the presence has a show type of '``chat``', '``dnd``', '``away``',
or '``xa``', then this event is triggered as well.
got_offline
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.roster.item.RosterItem`
2013-03-28 18:09:02 +00:00
2011-08-13 00:33:32 +00:00
Signal that an unavailable presence stanza has been received from a JID.
groupchat_invite
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0045`
When a Mediated MUC invite is received.
2011-08-13 00:33:32 +00:00
groupchat_direct_invite
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0249`
When a Direct MUC invite is received.
2011-08-13 00:33:32 +00:00
groupchat_message
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0045`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
Triggered whenever a message is received from a multi-user chat room.
groupchat_presence
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.XEP_0045`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
Triggered whenever a presence stanza is received from a user in a multi-user chat room.
groupchat_subject
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0045`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
Triggered whenever the subject of a multi-user chat room is changed, or announced when joining a room.
killed
2021-02-06 19:01:02 +00:00
- **Data:** ``{}``
- **Source:** :class:`~.XMLStream`
2011-08-13 00:33:32 +00:00
2021-02-06 19:01:02 +00:00
When the stream is aborted.
2011-08-13 00:33:32 +00:00
message
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`BaseXMPP <.BaseXMPP>`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
Makes the contents of message stanzas available whenever one is received. Be
sure to check the message type in order to handle error messages.
message_error
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`BaseXMPP <.BaseXMPP>`
Makes the contents of message stanzas available whenever one is received.
Only handler messages with an ``error`` type.
2011-08-13 00:33:32 +00:00
message_form
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Form`
- **Source:** :py:class:`~.XEP_0004`
2013-03-28 18:09:02 +00:00
2011-08-13 00:33:32 +00:00
Currently the same as :term:`message_xform`.
message_xform
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Form`
- **Source:** :py:class:`~.XEP_0004`
2013-03-28 18:09:02 +00:00
2011-08-13 00:33:32 +00:00
Triggered whenever a data form is received inside a message.
2013-03-28 18:09:02 +00:00
muc::[room]::got_offline
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.XEP_0045`
- **Name parameters:** ``room``, the room this is coming from.
Triggered whenever we receive an unavailable presence from a MUC occupant.
2011-08-13 00:33:32 +00:00
muc::[room]::got_online
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.XEP_0045`
- **Name parameters:** ``room``, the room this is coming from.
Triggered whenever we receive a presence from a MUC occupant
we do not have in the local cache.
2011-08-13 00:33:32 +00:00
muc::[room]::message
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0045`
- **Name parameters:** ``room``, the room this is coming from.
Triggered whenever we receive a message from a MUC we are in.
2011-08-13 00:33:32 +00:00
muc::[room]::presence
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.XEP_0045`
- **Name parameters:** ``room``, the room this is coming from.
muc::[room]::self-presence
- **Data:** :class:`~.Presence`
- **Source:** :class:`~.XEP_0045`
- **Name parameters:** ``room``, the room this is coming from.
Triggered whenever we receive a presence with status code ``110``
(for example on MUC join, or nick change).
muc::[room]::presence-error
- **Data:** :class:`~.Presence`
- **Source:** :class:`~.XEP_0045`
- **Name parameters:** ``room``, the room this is coming from.
Triggered whenever we receive a presence of ``type="error"`` from
a MUC.
2011-08-13 00:33:32 +00:00
presence_available
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.BaseXMPP`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
A presence stanza with a type of '``available``' is received.
presence_error
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.BaseXMPP`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
A presence stanza with a type of '``error``' is received.
presence_form
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Form`
- **Source:** :py:class:`~.XEP_0004`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
This event is present in the XEP-0004 plugin code, but is currently not used.
presence_probe
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.BaseXMPP`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
A presence stanza with a type of '``probe``' is received.
presence_subscribe
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.BaseXMPP`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
A presence stanza with a type of '``subscribe``' is received.
presence_subscribed
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.BaseXMPP`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
A presence stanza with a type of '``subscribed``' is received.
presence_unavailable
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.BaseXMPP`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
A presence stanza with a type of '``unavailable``' is received.
presence_unsubscribe
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.BaseXMPP`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
A presence stanza with a type of '``unsubscribe``' is received.
presence_unsubscribed
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.BaseXMPP`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
A presence stanza with a type of '``unsubscribed``' is received.
roster_update
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Roster`
- **Source:** :py:class:`~.ClientXMPP`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
An IQ result containing roster entries is received.
sent_presence
- **Data:** ``{}``
2021-02-06 19:01:02 +00:00
- **Source:** :py:class:`~.roster.multi.Roster`
2014-08-17 19:53:34 +00:00
2011-08-13 00:33:32 +00:00
Signal that an initial presence stanza has been written to the XML stream.
session_end
- **Data:** ``{}``
2021-02-06 19:01:02 +00:00
- **Source:** :py:class:`~.xmlstream.XMLstream`
2011-08-13 00:33:32 +00:00
Signal that a connection to the XMPP server has been lost and the current
2021-02-06 19:01:02 +00:00
stream session has ended. Equivalent to :term:`disconnected`, unless the
`XEP-0198: Stream Management <http://xmpp.org/extensions/xep-0198.html>`_
plugin is loaded.
2011-08-13 00:33:32 +00:00
Plugins that maintain session-based state should clear themselves when
this event is fired.
session_start
- **Data:** ``{}``
2021-02-06 19:01:02 +00:00
- **Source:** :py:class:`.ClientXMPP`,
:py:class:`~.ComponentXMPP`,
:py:class:`~.XEP-0078`
2011-08-13 00:33:32 +00:00
Signal that a connection to the XMPP server has been made and a session has been established.
2021-02-06 19:01:02 +00:00
session_resumed
- **Data:** ``{}``
- **Source:** :class:`~.XEP_0198`
When Stream Management manages to resume an ongoing session
after reconnecting.
2011-08-13 00:33:32 +00:00
socket_error
2013-03-28 18:09:02 +00:00
- **Data:** ``Socket`` exception object
2021-02-06 19:01:02 +00:00
- **Source:** :py:class:`~.xmlstream.XMLstream`
2011-08-13 00:33:32 +00:00
stream_error
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.StreamError`
- **Source:** :py:class:`~.BaseXMPP`
2020-12-09 17:08:57 +00:00
reactions
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0444`
When a message containing reactions is received.
2020-12-09 17:08:57 +00:00
carbon_received
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0280`
When a carbon for a received message is received.
2020-12-09 17:08:57 +00:00
carbon_sent
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0280`
When a carbon for a sent message (from another of our resources) is received.
2020-12-09 17:08:57 +00:00
marker
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0333`
Whenever a chat marker is received (any of them).
2020-12-09 17:08:57 +00:00
marker_received
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0333`
Whenever a ``<received/>`` chat marker is received.
2020-12-09 17:08:57 +00:00
marker_displayed
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0333`
Whenever a ``<displayed/>`` chat marker is received.
2020-12-09 17:08:57 +00:00
marker_acknowledged
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0333`
Whenever an ``<acknowledged/>`` chat marker is received.
2020-12-09 17:08:57 +00:00
attention
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0224`
Whenever a message containing an attention payload is received.
2020-12-09 17:08:57 +00:00
message_correction
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0308`
Whenever a message containing a correction is received.
2020-12-09 17:08:57 +00:00
receipt_received
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0184`
Whenever a message receipt is received.
2020-12-09 17:08:57 +00:00
jingle_message_propose
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0353`
2020-12-09 17:08:57 +00:00
jingle_message_retract
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0353`
2020-12-09 17:08:57 +00:00
jingle_message_accept
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0353`
2020-12-09 17:08:57 +00:00
jingle_message_proceed
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0353`
2020-12-09 17:08:57 +00:00
jingle_message_reject
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0353`
2020-12-09 17:08:57 +00:00
room_activity
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.XEP_0437`
When a room activity stanza is received by a client.
2020-12-09 17:08:57 +00:00
room_activity_bare
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Presence`
- **Source:** :py:class:`~.XEP_0437`
When an empty room activity stanza is received
(typically by a component).
2020-12-09 17:08:57 +00:00
sm_enabled
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.stanza.Enabled`
- **Source:** :py:class:`~.XEP_0198`
When Stream Management is successfully enabled.
2020-12-09 17:08:57 +00:00
sm_disabled
2021-02-06 19:01:02 +00:00
- **Data:** ``{}``
- **Source:** :py:class:`~.XEP_0198`
When Stream Management gets disabled (when disconnected).
2020-12-09 17:08:57 +00:00
ibb_stream_start
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.stream.IBBBytestream`
- **Source:** :py:class:`~.XEP_0047`
When a stream is successfully opened with a remote peer.
2020-12-09 17:08:57 +00:00
ibb_stream_end
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.stream.IBBBytestream`
- **Source:** :py:class:`~.XEP_0047`
When an opened stream closes.
2020-12-09 17:08:57 +00:00
ibb_stream_data
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.stream.IBBBytestream`
- **Source:** :py:class:`~.XEP_0047`
When data is received on an opened stream.
2020-12-09 17:08:57 +00:00
stream:[stream id]:[peer jid]
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.stream.IBBBytestream`
- **Source:** :py:class:`~.XEP_0047`
- **Name parameters:** ``stream id``, the id of the stream,
and ``peer jid`` the JID of the entity the stream is established
with.
When a stream is opened (with specific sid and jid parameters).
2020-12-09 17:08:57 +00:00
command
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Iq`
- **Source:** :py:class:`~.XEP_0050`
When an ad-hoc command is received.
2020-12-09 17:08:57 +00:00
command_[action]
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Iq`
- **Source:** :py:class:`~.XEP_0050`
- **Name parameters:** ``action``, the action referenced in
the command payload.
When a command with the specific action is received.
2020-12-09 17:08:57 +00:00
pubsub_publish
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0060`
When a pubsub event of type ``publish`` is received.
2020-12-09 17:08:57 +00:00
pubsub_retract
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0060`
When a pubsub event of type ``retract`` is received.
2020-12-09 17:08:57 +00:00
pubsub_purge
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0060`
When a pubsub event of type ``purge`` is received.
2020-12-09 17:08:57 +00:00
pubsub_delete
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0060`
When a pubsub event of type ``delete`` is received.
2020-12-09 17:08:57 +00:00
pubsub_config
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0060`
When a pubsub event of type ``config`` is received.
2020-12-09 17:08:57 +00:00
pubsub_subscription
2021-02-06 19:01:02 +00:00
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0060`
When a pubsub event of type ``subscription`` is received.
Dedicated PubSub Events
=======================
The :class:`~.XEP_0060` plugin (and :class:`~.XEP_0163` plugin, which uses
the former) allows other plugins to map specific namespaces in
PubSub notifications to a dedicated name prefix.
The current list of plugin prefixes is the following:
- ``bookmarks``: :class:`~.XEP_0048`
- ``user_location``: :class:`~.XEP_0080`
- ``avatar_metadata``: :class:`~.XEP_0084`
- ``avatar_data``: :class:`~.XEP_0084`
- ``user_mood``: :class:`~.XEP_0107`
- ``user_activity``: :class:`~.XEP_0108`
- ``user_tune``: :class:`~.XEP_0118`
- ``reachability``: :class:`~.XEP_0152`
- ``user_nick``: :class:`~.XEP_0172`
2021-02-06 19:01:02 +00:00
- ``user_gaming``: :class:`~.XEP_0196`
- ``mix_participant_info``: :class:`~.XEP_0369`
- ``mix_channel_info``: :class:`~.XEP_0369`
.. glossary::
:sorted:
[plugin]_publish
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0060`
When a pubsub event of type ``publish`` is received.
[plugin]_retract
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0060`
When a pubsub event of type ``retract`` is received.
[plugin]_purge
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0060`
When a pubsub event of type ``purge`` is received.
[plugin]_delete
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0060`
When a pubsub event of type ``delete`` is received.
[plugin]_config
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0060`
When a pubsub event of type ``config`` is received.
[plugin]_subscription
- **Data:** :py:class:`~.Message`
- **Source:** :py:class:`~.XEP_0060`
When a pubsub event of type ``subscription`` is received.