|
def | __init__ |
|
def | sender |
|
def | to |
|
def | body |
|
def | command |
|
def | arg |
|
def | reply |
|
Encapsulates an XMPP message received by the application.
def google.appengine.api.xmpp.Message.__init__ |
( |
|
self, |
|
|
|
vars |
|
) |
| |
Constructs a new XMPP Message from an HTTP request.
Args:
vars: A dict-like object to extract message arguments from.
def google.appengine.api.xmpp.Message.reply |
( |
|
self, |
|
|
|
body, |
|
|
|
message_type = MESSAGE_TYPE_CHAT , |
|
|
|
raw_xml = False , |
|
|
|
send_message = send_message |
|
) |
| |
Convenience function to reply to a message.
Args:
body: str: The body of the message
message_type, raw_xml: As per send_message.
send_message: Used for testing.
Returns:
A status code as per send_message.
Raises:
See send_message.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/api/xmpp/__init__.py