# group_invite

Activates when someone invites bot to the group.

# Incoming and outgoing parameters

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

## Input parameters

| Parameter | Required | Value |
|-----------|----------|-------|
| 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`

| Parameter | Required | Description |
|-----------|----------|-------------|
| 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)

| Parameter | Description |
|-----------|-------------|
| accept    | If this parameter equals 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).