简体   繁体   English

如何在 Microsoft bot 框架中获取 bot 发送给用户的最后一条消息? 或者是否可以通过连接器 api 更新用户状态?

[英]How to get last message send by bot to user in Microsoft bot framework ? or is it possible to update user state via connector api?

How to get last message send by bot to user in Microsoft bot framework , if bot send message to user via connector api?如果机器人通过连接器 api 向用户发送消息,如何在 Microsoft 机器人框架中获取机器人发送给用户的最后一条消息? or is it possible to update user state via connector api ?或者是否可以通过连接器 api 更新用户状态? Please help.请帮忙。

@Celyon - You can use Graph API call (List messages) to get all messages for a particular user & filter it out based on the dates. @Celyon - 您可以使用 Graph API 调用(列出消息)来获取特定用户的所有消息并根据日期将其过滤掉。

Reference docs 参考文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在Microsoft Bot Framework上获取用户名? - How to get user name on Microsoft Bot Framework? Microsoft Bot Builder - 向用户发送主动消息 - Microsoft Bot Builder - send proactive message to user bot框架按用户地址发送主动消息 - bot framework send proactive message by user address 在Bot Framework中的ConversationUpdate事件上向用户发送消息 - Send message to user on ConversationUpdate event in Bot Framework 如何通过使用 Microsoft Bot Framework 创建的消息扩展上的 ID 获取用户电子邮件? - How to get user email by ID on Message extension created using Microsoft Bot Framework? 如何在 Microsoft Bot Framework 上通过 ID 获取用户电子邮件? - How to get user email by ID on Microsoft Bot Framework? node-telegram-bot-api / 如何获取有关问题的用户消息? - node-telegram-bot-api / How to get user message on a question? 使用Bot Framework代表用户发送消息 - Using the Bot Framework to send message on the user's behalf 如何通过Microsoft Bot Framework中的Skype for Business通道获取用户的身份验证详细信息 - How to get Authentication details of user over Skype for Business channel in Microsoft Bot Framework 电报bot API,通过@username发送消息 - Telegram bot api, send message via @username
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM