Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
746 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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.