online_status (HTTP Callback Event)

From SmartBots Developers Docs
Jump to: navigation, search

Fires when bot's online status changes

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 = online_status
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 online_status:
status yes connection status, one of: LOGGED_OUT, CONNECTING, ONLINE, LOGGING_OUT, LOGIN_ERROR
details yes free-form detailed text about the new status
location yes bot's location, Region/X/Y/Z


<< return back to HTTP Callback events