StartConversation上下文数据

StartConversation上下文数据

本文介绍了IMessengerAdvanced :: StartConversation上下文数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在试图弄清楚如何使用StartConversation方法获取发送给messenger的上下文数据。我的应用程序当前正在侦听OnIMWindowCreated事件,但我不确定如何获取发送的上下文数据以启动对话?有什么例子吗?谢谢!

Hi,

I'm trying to figure out how to get the contextual data that was send to messenger using the StartConversation method.  My application is currently listening to the OnIMWindowCreated event, but I'm not sure how to get the context data that was sent to start the conversation?  Any examples out there?  Thanks!

推荐答案

string content = imWindow.History;




将返回窗口内容。您需要轮询任何更改,因为没有事件可以告诉您内容何时发生变化。






Will return you the contents of the window.  You will need to poll for any changes since there is no event to tell you when the content has changed.




这篇关于IMessengerAdvanced :: StartConversation上下文数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-26 06:53