Send Activity and Message same Dialog in Bot FrameWork

Brijesh Pankhaniya 21 Reputation points
2022-01-17T12:51:54.71+00:00

Hi everyOne,

I Create one Dialog Bot which have two Dialog Main and Navigation Dialog.. I Call the Navigation Dialog from Main Dialog. I perform some operation in the Dialog at that time want to send two separate Message. For that I use sendActivityAsync method and for another message use PromptOptions. It is working fine in Local Bot Emulator but not Working when Publish the Bot. here is the code for both the Dialog.

Navigation Dialog
165647-boterror.png

CreateandSendMessage() function
165721-messageerror.png

working fine in Emulator not in Live.

Emulator::
165599-emulator.png

Live:::
165712-live.png

Waiting For any Solution Thanks in Advance.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.