# offer_friendship

Friendship offer event.

# 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      | = offer_friendship |
| 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 `offer_friendship`

| Parameter | Required | Description |
|-----------|----------|-------------|
| avatar_name | yes      | Sending avatar's name |
| avatar_uuid | yes      | Sending avatar's UUID |
| message   | yes      | Friendship offer message |
| session_id | yes      | Offer session ID (required to accept/reject an offer) |

# Accepting offer

Use HTTP API to accept or reject an offer.