offer_inventory (HTTP Callback Event)

From SmartBots Developers Docs
Jump to: navigation, search

Inventory offer coming from another avatar of object.

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_inventory
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_inventory:
asset_type yes The inventory item type: Object, Skin, Animation etc
offer_type yes (reserved)
folder yes The receiving folder UUID
sender_name yes Sender's name (avatar or object name)
sender_uuid yes Sender's UUID
sender_type yes Type of the sender: OBJECT or AGENT
object yes Received inventory object UUID
session yes Session UUID (SL data)
message yes Message received along with the offer

Accepting offer

Use HTTP API to accept or reject an offer.

<< return back to HTTP Callback events