Hello
What you can do is to load the blip in the submitted event and call
CreateChild on it.
Ie (in python)
def OnBlipSubmitted(properties, context):
blipId = properties['blipId']
blip = context.GetBlipById(blipId)
blip.CreateChild().GetDocument().SetText("Some text")
-Fredrik
On Mon, Dec 14, 2009 at 06:26, Anthony Westover
<[email protected]>wrote:
> Is there anyway to make a robot reply to a blip instead of just
> appending a new Blip to the end of the Wave? As a basic proof of
> concept program, I am thinking of a robot(in Java, if that matters)
> that checks each newly submitted Blip(via BLIP_SUBMITTED event) for a
> variation of Hello(Hello, Hi, Hey, etc.) then replies with it's own
> "Hello!". Right now the robot just posts it at the end of the
> document. So, as an example, person 1 says "Hello everybody", robot
> responds, person 2 replies to person 1, "Hey there", robot responds.
> Right now the wave looks like:
>
> Hello everybody
> Hey there
> Hello!
> Hello!
>
> I want it to look like:
>
> Hello everybody
> Hello!
> Hey there
> Hello!
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Google Wave API" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-wave-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-wave-api?hl=en.
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Wave API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-wave-api?hl=en.