XEP 0404

1.6 Documentation

«  XEP 0403   ::   Contents   ::   XEP 0405  »

XEP 0404

class slixmpp.plugins.xep_0404.XEP_0404(xmpp, config=None)[source]

XEP-0404: MIX JID Hidden Channels

async get_anon_by_id(channel, *, ifrom=None, **pubsubkwargs)[source]

Get the jid-participant mapping, by participant id

Parameters

channel (JID) – MIX channel JID

Return type

Dict[str, JID]

async get_anon_by_jid(channel, *, ifrom=None, **pubsubkwargs)[source]

Get the jid-participant mapping, by JID

Parameters

channel (JID) – MIX channel JID

Return type

Dict[JID, str]

async get_anon_raw(channel, *, ifrom=None, **pubsubkwargs)[source]

Get the jid-participant mapping result (raw). :param JID channel: MIX channel JID

Return type

Iq

async get_preferences(channel, *, ifrom=None, **iqkwargs)[source]

Get channel preferences with default values. :param JID channel: MIX channel JID

Return type

Form

async set_preferences(channel, form, *, ifrom=None, **iqkwargs)[source]

Set channel preferences :param JID channel: MIX channel JID :param Form form: A 0004 form with updated preferences

Return type

Form

stanza = <module 'slixmpp.plugins.xep_0404.stanza' from '/home/docs/checkouts/readthedocs.org/user_builds/slixmpp/checkouts/slix-1.6.0/slixmpp/plugins/xep_0404/stanza.py'>

Stanza elements

Slixmpp: The Slick XMPP Library Copyright (C) 2020 Mathieu Pasquet <mathieui@mathieui.net> This file is part of Slixmpp.

See the file LICENSE for copying permissio

class slixmpp.plugins.xep_0404.stanza.Participant(xml=None, parent=None)[source]
interfaces = {'jid'}
name = 'participant'
namespace = 'urn:xmpp:mix:anon:0'
plugin_attrib = 'anon_participant'
sub_interfaces = {'jid'}
class slixmpp.plugins.xep_0404.stanza.UserPreference(xml=None, parent=None)[source]
name = 'user-preference'
namespace = 'urn:xmpp:mix:anon:0'
plugin_attrib = 'user_preference'
slixmpp.plugins.xep_0404.stanza.register_plugins()[source]

«  XEP 0403   ::   Contents   ::   XEP 0405  »