Initiate a message from bot to user on BotFramework

后端 未结 2 1913
谎友^
谎友^ 2020-12-06 01:29

I have a bot built on BotFramework 3.5 and hosted on Azure as a WebApp. I didn\'t face any problems with implementation of scenarios where the bot needs to respond to user\'

2条回答
  •  萌比男神i
    2020-12-06 02:08

    Try creating a new conversation like this:

    var conversationId = await connector.Conversations.CreateDirectConversationAsync(botAccount, userAccount);
    

提交回复
热议问题