Jabber IDs (JID)¶
- class sleekxmpp.xmlstream.jid.JID(jid)¶
A representation of a Jabber ID, or JID.
Each JID may have three components: a user, a domain, and an optional resource. For example: user@domain/resource
When a resource is not used, the JID is called a bare JID. The JID is a full JID otherwise.
- JID Properties:
jid: Alias for full. full: The value of the full JID. bare: The value of the bare JID. user: The username portion of the JID. domain: The domain name portion of the JID. server: Alias for domain. resource: The resource portion of the JID. Parameters: jid (string) – A string of the form '[user@]domain[/resource]'.
Generate a new JID based on current values, useful after editing.