如何配置IM超时超过10分钟?

编程入门 行业动态 更新时间:2024-10-24 15:24:50
本文介绍了如何配置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 toconfigure 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分钟?

本文发布于:2023-11-26 12:53:03,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1633960.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:IM

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!