通过服务初始化对话 [英] Initialize conversation by service

查看:66
本文介绍了通过服务初始化对话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在计时器服务方面相对较新. 因此,我通常想问一个例子或伪代码,如何使用Microsoft bot框架初始化与用户的对话?

I am relatively new in timer services. So, i want to generally ask for an example or pseudo code how to initialize conversation with user using microsoft bot framework ?

想法:

在我的网站上有用户和事件,我想通知用户他/她的事件何时需要时间. 例如,如果他/她关注某个事件,则在事件开始之前在Facebook上以对话形式发送通知,或类似的操作.

In my web site with users and events i want to notify user when his/her event will take time. For example if he/her follows an event, send notification as conversation on facebook before the event starts or something like that.

我在我的漫游器上对用户进行了身份验证.这是我的下一步.

I made authentication for users on my bot. This is my next step.

任何帮助将不胜感激.

提前谢谢!

推荐答案

看看 AlarmBot 示例.它显示了与您的场景非常相似的场景.是一个复杂的示例,请花一些时间来理解所有内容.

Take a look to the AlarmBot sample. It shows an scenario pretty similar to yours. Is a complex sample so take the time to understand all the pieces.

此外,您还可以查看此 GitHub存储库,在此您会发现它更简单如何发送主动消息的示例.

Additionally, you can take a look to this GitHub repo, where you will find simpler examples on how to send proactive messages.

这篇关于通过服务初始化对话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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