View source on GitHub |
An instant messaging handle. Includes both an address and its protocol.
Inherits From: expected_type
google.appengine.api.datastore_types.IM(
protocol, address=None
)
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 http://aim.com/ AIM http://icq.com/ ICQ http://talk.google.com/ Google Talk http://messenger.msn.com/ MSN Messenger http://messenger.yahoo.com/ Yahoo Messenger http://sametime.com/ Lotus Sametime http://gadu-gadu.pl/ 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: https://developers.google.com/gdata/docs/1.0/elements#gdIm
Serializes to <protocol> <address>
. Raises BadValueError
if tag is not a
standard IM scheme or a URL.
Methods
ToXml
ToXml()
__eq__
__eq__(
other
)
Return self==value.
__ge__
__ge__(
other
)
Return self>=value.
__gt__
__gt__(
other
)
Return self>value.
__le__
__le__(
other
)
Return self<=value.
__len__
__len__()
__lt__
__lt__(
other
)
Return self<value.
__ne__
__ne__(
other
)
Return self!=value.
Class Variables | |
---|---|
PROTOCOLS |
['sip', 'unknown', 'xmpp']
|
address |
None
|
protocol |
None
|