Python 3.9 is now generally available.


An instant messaging handle. Includes both an address and its protocol.

Inherits From: expected_type

The protocol value is either a standard IM scheme or a URL identifying the IM network for the protocol. Possible values include:

Value Description sip SIP/SIMPLE unknown Unknown or unspecified xmpp XMPP/Jabber AIM ICQ Google Talk MSN Messenger Yahoo Messenger Lotus Sametime Gadu-Gadu

This is the gd:im element. In XML output, the address and protocol are provided as the address and protocol attributes, respectively. See:

Serializes to <protocol> <address>. Raises BadValueError if tag is not a standard IM scheme or a URL.



View source


View source

Return self==value.


View source

Return self>=value.


View source

Return self>value.


View source

Return self<=value.


View source


View source

Return self<value.


View source

Return self!=value.

PROTOCOLS ['sip', 'unknown', 'xmpp']
address None
protocol None