Facebook Messenger Platform - Detect user typing

对着背影说爱祢 提交于 2019-12-10 19:21:07

问题


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?


回答1:


This currently can't be done.

You can only show the user that you are typing.

"typing_on" and "typing_off" for the sender_action.



回答2:


I made it using twisted way, Using image processing i take screenshot and see if he is typing or not using python sc



来源:https://stackoverflow.com/questions/43829148/facebook-messenger-platform-detect-user-typing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!