App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.api.xmpp.Message Class Reference
Inheritance diagram for google.appengine.api.xmpp.Message:

Public Member Functions

def __init__
 
def sender
 
def to
 
def body
 
def command
 
def arg
 
def reply
 

Detailed Description

Encapsulates an XMPP message received by the application.

Constructor & Destructor Documentation

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.

Member Function Documentation

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: