FbChatBot将消息标记为已读 [英] FbChatBot mark message as Read

查看:111
本文介绍了FbChatBot将消息标记为已读的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发fb聊天机器人,我想将消息标记为已读,以便当我们fb页面的主持人查看消息部分时,即使fb聊天机器人已经在,他们也不会看到太多未读消息该用户回答说,他们不需要单击该消息即可将其标记为已读。

i am developing fb chat bot, and i want to mark the message as read so that when the moderator of our fb page view the message part, they won't see so many unread messages even though the fb chat bot has already replied that user and they don't need to click that message just to mark it as "read".

我该如何实现?我正在尝试使用此API:但这无法正常工作。

How can i achieve this? I am trying to use this API: but it doesn't work.

https://developers.facebook.com/docs/messenger-platform/send-api-reference/sender-actions

推荐答案

您不能将消息标记为已读(到目前为止),但是我要处理的最好方法是使用移交协议

You can not mark message as read (as of now), but the best way I deal with this is to use Handover Protocol


  • 当您的漫游器回复该消息时,它不会出现在INBOX中,而是转到DONE框。

  • 机器人无法应答时,您可以让机器人将线程传递给INBOX。然后页面的主持人手动回答它。 (然后标记为完成)

请按照此处的说明进行设置:
https://developers.facebook.com/docs/messenger-platform/handover-protocol / pass-thread-control

Follow the instruction here to set it up: https://developers.facebook.com/docs/messenger-platform/handover-protocol/pass-thread-control

(注意:您可以将线程传递到页面收件箱,然后立即收回线程。我会通知INBOX,但是您机器人仍然可以与用户一起使用。)

(Note: You can pass thread to page inbox and then take thread back immediately. I will notify to INBOX, but your bot can still work with users.)

这篇关于FbChatBot将消息标记为已读的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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