0
我試圖建立一個單獨的應用程序 - 基本上是一個守護在我的內聯網運行 - 可以連接到機器人連接器應用程序,用戶和訪問之間現有對話機器人。難度在Microsoft博特框架現有會話訪問的消息
要以此開始,我使用DirectLine NuGet包,然後尋找現有消息與在的conversationId我已經開始通過仿真機器人的對話中。
例如,我啓動了仿真,並得到了的conversationId「8a684db8」。在我的控制檯應用程序,我有以下相關代碼:
var uri = new Uri("https://directline.botframework.com");
DirectLineClientCredentials creds = new DirectLineClientCredentials(secret); //lot into the bot framework
DirectLineClient client = new DirectLineClient(uri, creds); //connect the client
Conversations convs = new Conversations(client); //get the list of conversations belonging to the bot? Or does this start a new collection of conversations?
var existing_conv_messages = convs.GetMessages(convo_id);
現在,當我嘗試運行它,我得到的,我試圖找到最後一行「Not Found」錯誤現有的消息。
任何人都有解決方法嗎?