Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products.

Python 3.10 is now available in preview.

google.appengine.ext.db.IMProperty.data_type

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 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

View source

__eq__

View source

Return self==value.

__ge__

View source

Return self>=value.

__gt__

View source

Return self>value.

__le__

View source

Return self<=value.

__len__

View source

__lt__

View source

Return self<value.

__ne__

View source

Return self!=value.

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