offer_friendship (HTTP Callback Event)
From SmartBots Developers Docs
Friendship offer event.
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 | = 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: | |||
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.
<< return back to HTTP Callback events