group_invite (HTTP Callback Event)

From SmartBots Developers Docs
Jump to: navigation, search

Activates when someone invites bot to the group.

Incoming and outgoing parameters

The input parameters is being sent to your HTTP script along with this event. Output parameters (if any) should be generated by your script.

Parameters Required Value
Input parameters:
action yes = group_invite
bot_name yes the SL name of your bot
channel yes the unique bot id
cid yes internal HTTP connection identifier (you can ignore this value)
Input parameters specific for group_invite:
avatar_name yes the name of the inviter avatar
avatar_uuid yes the UUID of the inviter avatar
group_name yes the name of the group
group_uuid yes the UUID of the group
session_id yes offer session ID
system_message yes the text message being sent by Second Life.

It also contains information if group membership is free.

Output (your script's reply):
accept If this parameters equal to 1, then bot accepts group invitation. Otherwise group invitation is ignored.

Details

Your bot generates this callback message after receiving a group invitation from another avatar.

Bot expects your reply to accept or deny the invitation (see accept output parameter).


<< return back to HTTP Callback events