发送参与Facebook Messenger Bot的邀请(Sending Invitations to Participate in Facebook Messenger Bot)

编程入门 行业动态 更新时间:2024-10-27 02:28:19
发送参与Facebook Messenger Bot的邀请(Sending Invitations to Participate in Facebook Messenger Bot)

我是Messenger平台的新手,我试图围绕可能的事情类型。 特别是,我有兴趣使用机器人作为朋友之间沟通的“调解者”。 例如,人们可以建立一个机器人来帮助做出一个团队决策,比如有四五个人吃午饭。 每个人只与机器人交互,机器人收集午餐偏好,并向所有参与者传达某种类型的最佳选择。 这可能需要与每个参与者进行偏好的反复讨论。 明白了吗?

在这一点上,我想知道两件事:

用户最初如何邀请其他用户加入对话? 假设用户A开始与机器人交谈,机器人告诉用户A,“邀请一些朋友加入我们这个对话”。 机器人是否可以代表用户A发送这些邀请? 或者邀请是否必须通过其他一些带外机制进行?

信使平台是最适合创建这种交互式中介应用的FB平台技术吗?

提前谢谢,InterWebs ......

I am very new to Messenger platform and I'm trying to wrap my head around the types of things that are possible. In particular, I'm interested in using a bot as a "mediator" of communication among friends. For example, one could build build a bot to help make a group decision, like where four or five people will have lunch. Each person interacts only with the bot, the bot gathers lunch preferences, and communicates some type of optimal choice to all participants. This could require a back-and-forth discussion of preferences with each participant. Is that clear?

At this point, I'm wondering two things:

How would a user initially invite another user into the conversation? Suppose user A starts talking to the bot and the bot tells user A, "Invite some friends to join us in this conversation". Can the bot actually send these invitations on behalf of user A? Or does invitation have to take place via some other out-of-band mechanism?

Is messenger platform the most appropriate FB platform technology for creating this sort of interactive mediation app?

Thanks in advance, InterWebs...

最满意答案

如果我正确理解你的想法,那么构建一个可以与每个人分开聊天但提供共享体验的机器人将非常困难。 当用户与另一个用户共享机器人并且新用户开始聊天时,机器人无法知道推荐的来源,因此实际上无法知道两个用户是否已链接。

你可以做的是构建一个聊天扩展,它基本上可以通过群聊在你的机器人中提供功能:

https://developers.facebook.com/docs/messenger-platform/guides/chat-extensions

If I'm understanding your idea correctly, it would be very difficult to build a bot that could chat with each person separately but offer a shared experience. When a user shares the bot with another user and the new user starts a chat, the bot has no way of knowing where the referral comes from, so there's really no way to know that the two users are linked.

What you could do is build a chat extension, which basically makes functionality from your bot available in a group chat:

https://developers.facebook.com/docs/messenger-platform/guides/chat-extensions

更多推荐

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

发布评论

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

>www.elefans.com

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