# 扫码号登出事件 - 41002
[被动回调]主动调用商家机器人登出接口以及商家机器人在线状态异常返回该回调给商户。
encoding_content解密后的结构:
{
"event_type": 41002,
"robot_id": "扫码号id",
"robot_name": "扫码号名称",
"message": "退出登陆原因",
"robot_device": "机器人设备",
"logout_type": "登出类型"
}
说明
字段 | 类型 | 说明 |
---|---|---|
event_type | int | 事件类型,41002 |
robot_id | string | 扫码号id |
robot_name | string | 扫码号名称 |
robot_device | int | 机器人登录设备类型;2:云PC,3:客户端 |
message | string | 退出登陆原因 |
logout_type | int | 1:主动登出;2:被动登出(如心跳离线等,通常系统会自动重新登录) |