如何配置IM超时超过10分钟? [英] How to configure IM timeout longer than 10 min?

查看:107
本文介绍了如何配置IM超时超过10分钟?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我使用UCMA 3.0创建了一个即时消息Bot。它可以发送即时消息给联系人。

I created a instant message Bot using UCMA 3.0. It can send instant message to contact.

但是,IM消息超时是10分钟(默认值)。如何配置超时超过10分钟?

However, the IM message timeout is 10 minutes(default). How to configure timeout longer than 10 min?

任何帮助?

非常感谢。

推荐答案

不要更改超时。 只需发送类型设置为MessageType.INFO的邮件即可。 这将使会话保持活跃状态​​。 如果您查看服务器上的日志,您会看到用于发送"用户正在键入"的日志。给客户的消息。

Don't change the timeout.  Just send a message with the type set to MessageType.INFO.  This is will keep the session alive.  If you look at the logs on the server, you will see this used to send the "user is typing" messages to the client.


这篇关于如何配置IM超时超过10分钟?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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