Module ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body If CompareIn Str NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad decorator_list FunctionDef arguments args NameParam defaults body Raise Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Str If CompareIn Str NameLoad body Raise Call NameLoad Str Assign NameStore Dict Str Str Str NameLoad AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Return Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad NameLoad decorator_list decorator_list
N/A rapidsms.messages.base MessageBase rapidsms.messages.error ErrorMessage IncomingMessage N/A MessageBase N/A N/A Inbound message that provides an API to handle responses.
     __init__ N/A N/A self N/A args kwargs N/A N/A N/A received_at kwargs N/A N/A N/A Exception IncomingMessage.received_at is meaningless N/A N/A N/A N/A super IncomingMessage self __init__ args kwargs N/A N/A self responses N/A N/A date N/A N/A self N/A N/A N/A N/A Exception IncomingMessage.date is meaningless N/A property respond N/A N/A self text N/A kwargs N/A N/A 
        Respond to this message, sending the given text to the connections
        that this message came from.

        Responses are saved, and sent after incoming processing phases are
        complete.

        Arbitrary arguments are passed along to the
        :py:meth:`~rapidsms.router.send` method.

        :param string text: The text of the message
        :param connections: (optional) send to a different set of connections
            than were in the incoming message.
        :type connections: list of :py:class:`~rapidsms.models.Connection`
        :param in_response_to: (optional) the message being responded to.
        :type in_response_to: :py:class:`~rapidsms.messages.base.MessageBase`
        :returns: dictionary with the arguments that will be passed to
            :py:meth:`rapidsms.router.send` to send this response.
         N/A N/A template kwargs N/A N/A N/A TypeError `template` is no longer valid usage for respond().  Pass the message text as `text`. N/A context N/A text connections in_response_to text N/A self connections self N/A N/A N/A context update kwargs N/A N/A N/A N/A self responses append context N/A context N/A error N/A N/A self text N/A kwargs N/A N/A N/A N/A self respond class_ ErrorMessage text text kwargs N/A N/A