Facebook Messenger平台-检测用户输入 [英] Facebook Messenger Platform - Detect user typing

查看:123
本文介绍了Facebook Messenger平台-检测用户输入的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在开发机器人时,通常的做法是在机器人在后台运行时向用户显示打字指示,但是有可能检测到相反的情况:用户是打字还是闲置?我在文档或Google中找不到任何信息.有人知道如何实现吗?

When developing bots, it's common practice to show typing indicator to user, while bot is working on background, but is it possible to detect opposite situation: whether USER is typing or idle? I could not find any info in docs or google. Does anybody know how to achieve that?

推荐答案

当前无法完成.

您只能向用户显示您正在输入的内容.

You can only show the user that you are typing.

"typing_on" and "typing_off" for the sender_action.

这篇关于Facebook Messenger平台-检测用户输入的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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