Show custom Div after sending status in botframework through javascript.

Paras Ravindran 1 Reputation point


I am showing a custom div with a message when the user communicates with the bot.

I want to show it after sending state and hide it when bot shows a message.

currently i am using direct line.

      if (action.type === 'DIRECT_LINE/POST_ACTIVITY') {

      if (action.type === 'DIRECT_LINE/POST_ACTIVITY_FULFILLED') {

but the div is displayed when the user message is in sending state.

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