chat_message (HTTP Callback Event)
From SmartBots Developers Docs
Activates when bot receives a local chat message from avatar or 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 | = chat_message | |
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 chat_message: | |||
speaker_type | yes | the type of the speaker: AGENT or OBJECT | |
speaker_name | yes | the name of the avatar/object talking | |
speaker_uuid | yes | the UUID of the avatar/object talking | |
speaker_owner | yes | the UUID of the object owner (if object is talking) | |
message | yes | the message itself |
More info
Your bot generates this callback message after receiving a local chat message (either from avatar or from object).
Bot does not expect any reply from your script (this is just a notification).
<< return back to HTTP Callback events