Thanks! It works now. =)

On Apr 2, 6:01 am, Kapil Neurgaonkar <caps...@gmail.com> wrote:
> Use the reply method of the blip instead of wavelet.
>
> event.getBlip().reply().append("Your content");
>
> Regards,
> Kapil Neurgaonkar
>
> On Fri, Apr 2, 2010 at 9:58 AM, funnyboy243 <funnyboy...@gmail.com> wrote:
> > I'm trying to make my bot respond within the same area of the wave,
> > but for some reason the bot is creating a replay at the bottom of the
> > wave even when a replay is made to a past blip as an indented reply. I
> > tried finding something that could do this and I found the
> > CreateChild() method, but when I try to use it Eclipse complains with
> > an error saying "the method CreateChild() is undefined for type blip"
> > even though that doesn't make any sense because it's NOT supposed to
> > be undefined.
>
> > This is what Currently happens:
>
> > User Msg
> > Bot Msg
> >  User 2 Msg
> > User Msg
> > Bot Msg
> > Bot Msg (reply to usr 2)
>
> > This is what I want:
>
> > User Msg
> > Bot Msg
> >  User 2 Msg
> >    Bot Msg reply
> > User Msg
> > Bot Msg
>
> > This is my current code snippet:
>
> > @Override
> >  public void onBlipSubmitted(BlipSubmittedEvent event) {
> >          Blip blip = event.getBlip();
> >          event.getWavelet().reply("\n" + GetBotMSG(blip.getContent()));
> >  }
>
> > (The GetBotMSG function gets the bot's message using an XML parser)
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Google Wave API" group.
> > To post to this group, send email to google-wave-...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-wave-api+unsubscr...@googlegroups.com<google-wave-api%2bunsubscr...@googlegroups.com>
> > .
> > 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 google-wave-...@googlegroups.com.
To unsubscribe from this group, send email to 
google-wave-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-wave-api?hl=en.

Reply via email to