我使用的是python botbuilder sdk,当服务器发送任何消息时,它会将以下消息打印到控制台:
Your credentials class does not support session injection. Performance will not be at the maximum.
我试着下载在github上找到的示例,但问题仍然存在。在
我正在发送的消息。在
credentials = MicrosoftAppCredentials(APP_ID, APP_PASSWORD)
connector = ConnectorClient(credentials, base_url=activity.service_url)
reply = self.buildReply(activity, activity.text)
connector.conversations.send_to_conversation(reply.conversation.id, reply)
未知消息似乎来自send_to_conversation
函数。在
任何关于它为什么出现的见解都会有帮助。谢谢您!在
Python Bot Builder SDK使用} 不包含这两个方法中的任何一个。有了这些信息,您可以在GitHub上的Bot Builder Python repo中提出一个问题:https://github.com/microsoft/botbuilder-python/issues
msrest-for-python
。{a1}如果显示的是^ a1}的消息,则不能看到该消息。您可以在Bot Builder源代码中看到^{相关问题 更多 >
编程相关推荐