Interactivebot示例 - 将状态更改为脱机 [英] Interactivebot sample - changing presence to offline

查看:135
本文介绍了Interactivebot示例 - 将状态更改为脱机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我让样本工作,即使机器人没有运行,现在也会显示在线状态。我正在尝试传递PresenceState.Offline值,希望状态现在显示为脱机但没有运气。是否不支持将状态设置为脱机?或者我在这里遗漏了什么?



谢谢,


解决方案


制作"静态"的出版时,你应该做一个"用户"只需更改状态类别类型即可发布。



机器人在线出现的原因是预计在生产环境中始终在线。




Stephane丹纳


I got the sample to work and the presence is now showing as online always even when the bot is not running. I'm trying to pass the PresenceState.Offline value hoping that the state will now show as offline but with no luck. Is setting the status to offline not supported? or am I missing something here?

 

Thanks,

 

解决方案

 

Instead of making a "static" publication, you should make a "user" publication by simply changing the state category type.

 

The reason why the bot appears online is that it is expected to be always online in production environment.

 

 

Stephane Taine


这篇关于Interactivebot示例 - 将状态更改为脱机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆