examples/microsoft/nodejs/index.js
function(message) {
    // Send notification as a proactive message 
    var activity = message.activity
    var reference = TurnContext.getConversationReference(activity); 
    MicrosoftAppCredentials.trustServiceUrl(activity.serviceUrl);
    
    adapter.continueConversation(reference, async (context) => {
        // Complete the job.
        await bot.processChatResponse(context, message);
    });
}
function(message) {
    // Send notification as a proactive message 
    var activity = message.activity
    var reference = TurnContext.getConversationReference(activity); 
    MicrosoftAppCredentials.trustServiceUrl(activity.serviceUrl);
    
    adapter.continueConversation(reference, async (context) => {
        // Complete the job.
        await bot.processChatResponse(context, message);
    });
}
function ( message ) { // Send notification as a proactive message  var activity = message . activity var reference = TurnContext . getConversationReference ( activity ) ; MicrosoftAppCredentials . trustServiceUrl ( activity . serviceUrl ) ; adapter . continueConversation ( reference , async ( context ) => { // Complete the job. await bot . processChatResponse ( context , message ) ; } ) ; }
Handle forwarding the messages sent by a human through your bot
Handle forwarding the messages sent by a human through your bot