instant_message (HTTP Callback Event)

From SmartBots Developers Docs
Jump to: navigation, search

Activates when bot receives an instant message from avatar.

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 Description
Input parameters:
action yes = instant_message
bot_name yes the SL name of your bot
msgid yes internal message sequence number (you can ignore this value)
cid yes internal HTTP connection identifier (you can ignore this value)
Input parameters specific for instant_message:
speaker_type yes the type of the speaker: AGENT
speaker_name yes the name of the avatar/object talking
speaker_uuid yes the UUID of the avatar/object talking
message yes the message itself

More info

Your bot generates this callback message after receiving an instant message from an avatar.

Bot does not expect any reply from your script (this is just a notification).


<< return back to HTTP Callback events