question

ParasRavindran-5389 avatar image
0 Votes"
ParasRavindran-5389 asked romungi-MSFT commented

Show custom Div after sending status in botframework through javascript.

Hi

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') {
    
         $('div.customMsg').show();
       }
       if (action.type === 'DIRECT_LINE/POST_ACTIVITY_FULFILLED') {
         $('div.customMsg').hide();
       }

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

azure-bot-service
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@ParasRavindran-5389 I am not very familiar with the customization of bot framework with directline channel but I think if you post the same issue on this github repo you might receive an accurate and fast response.


0 Votes 0 ·

0 Answers