How to end a conversation in msbot sdk v4 using node jsHow to end a conversation?How do I debug Node.js applications?How do I pass command line arguments to a Node.js program?How to decide when to use Node.js?How to exit in Node.jsWhat is the purpose of Node.js module.exports and how do you use it?How to uninstall npm modules in node js?How do I update each dependency in package.json to the latest version?how to start new proactive conversation dialog without ending to current ongoing dialogHow to catch conversation ending event?how to restart a connection to the bot using sdk v4 for node js

As the Dungeon Master, how do I handle a player that insists on a specific class when I already know that choice will cause issues?

Was adding milk to tea started to reduce employee tea break time?

Can I use "candidate" as a verb?

How to know whether a Tamron lens is compatible with Canon EOS 60D?

<schwitz>, <zwinker> etc. Does German always use 2nd Person Singular Imperative verbs for emoticons? If so, why?

Matchmaker, Matchmaker, make me a match

PIC12F675 GP4 doesn't work

Is it rude to tell recruiters I would only change jobs for a better salary?

What was the definition of "set" that resulted in Russell's paradox?

What are the steps/action plan to introduce Test Automation in a company?

Did any of the founding fathers anticipate Lysander Spooner's criticism of the constitution?

Dropping outliers based on "2.5 times the RMSE"

Cops: The Hidden OEIS Substring

How can I deal with a player trying to insert real-world mythology into my homebrew setting?

Would letting a multiclass character rebuild their character to be single-classed be game-breaking?

Machine learning and operations research projects

Is a Lisp program in both prog-mode and lisp-mode?

Would dual wielding daggers be a viable choice for a covert bodyguard?

Cubic programming and beyond?

If Dutch railways suggests a 5-min connection, is it definitely doable?

Is an acid a salt or not?

Supporting developers who insist on using their pet language

Who Can Help Retag This?

What explains 9 speed cassettes price differences?



How to end a conversation in msbot sdk v4 using node js


How to end a conversation?How do I debug Node.js applications?How do I pass command line arguments to a Node.js program?How to decide when to use Node.js?How to exit in Node.jsWhat is the purpose of Node.js module.exports and how do you use it?How to uninstall npm modules in node js?How do I update each dependency in package.json to the latest version?how to start new proactive conversation dialog without ending to current ongoing dialogHow to catch conversation ending event?how to restart a connection to the bot using sdk v4 for node js






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am developing a bot in microsoft sdk v4 using node js. I am unable to end the conversation using ActivityTypes.EndofConversation. Please provide some solution.










share|improve this question






















  • You should check out this post, I guess. hope this helps. stackoverflow.com/questions/43657463/how-to-end-a-conversation/…

    – Tejas Bramhecha
    Mar 26 at 11:14












  • Can you post how you're trying to end your dialog? The full code snippet?

    – JJ_Wailes
    Mar 26 at 14:53











  • @TejasBramhecha this is related to c# where as I am using msbot sdk v4 node js

    – vaatsalya
    Apr 2 at 8:48











  • @JJ_Wailes I am not using dialogs. I didn't implement it in v4. I am asking how to implement the following v3 code in v4 using node js "session.endConversation("Thank you for your business!");"

    – vaatsalya
    Apr 2 at 8:56











  • In order for anyone to be able to help you, you have to post the code of what you've tried so far.

    – JJ_Wailes
    Apr 2 at 15:25

















0















I am developing a bot in microsoft sdk v4 using node js. I am unable to end the conversation using ActivityTypes.EndofConversation. Please provide some solution.










share|improve this question






















  • You should check out this post, I guess. hope this helps. stackoverflow.com/questions/43657463/how-to-end-a-conversation/…

    – Tejas Bramhecha
    Mar 26 at 11:14












  • Can you post how you're trying to end your dialog? The full code snippet?

    – JJ_Wailes
    Mar 26 at 14:53











  • @TejasBramhecha this is related to c# where as I am using msbot sdk v4 node js

    – vaatsalya
    Apr 2 at 8:48











  • @JJ_Wailes I am not using dialogs. I didn't implement it in v4. I am asking how to implement the following v3 code in v4 using node js "session.endConversation("Thank you for your business!");"

    – vaatsalya
    Apr 2 at 8:56











  • In order for anyone to be able to help you, you have to post the code of what you've tried so far.

    – JJ_Wailes
    Apr 2 at 15:25













0












0








0








I am developing a bot in microsoft sdk v4 using node js. I am unable to end the conversation using ActivityTypes.EndofConversation. Please provide some solution.










share|improve this question














I am developing a bot in microsoft sdk v4 using node js. I am unable to end the conversation using ActivityTypes.EndofConversation. Please provide some solution.







node.js botframework






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 26 at 4:00









vaatsalyavaatsalya

13 bronze badges




13 bronze badges












  • You should check out this post, I guess. hope this helps. stackoverflow.com/questions/43657463/how-to-end-a-conversation/…

    – Tejas Bramhecha
    Mar 26 at 11:14












  • Can you post how you're trying to end your dialog? The full code snippet?

    – JJ_Wailes
    Mar 26 at 14:53











  • @TejasBramhecha this is related to c# where as I am using msbot sdk v4 node js

    – vaatsalya
    Apr 2 at 8:48











  • @JJ_Wailes I am not using dialogs. I didn't implement it in v4. I am asking how to implement the following v3 code in v4 using node js "session.endConversation("Thank you for your business!");"

    – vaatsalya
    Apr 2 at 8:56











  • In order for anyone to be able to help you, you have to post the code of what you've tried so far.

    – JJ_Wailes
    Apr 2 at 15:25

















  • You should check out this post, I guess. hope this helps. stackoverflow.com/questions/43657463/how-to-end-a-conversation/…

    – Tejas Bramhecha
    Mar 26 at 11:14












  • Can you post how you're trying to end your dialog? The full code snippet?

    – JJ_Wailes
    Mar 26 at 14:53











  • @TejasBramhecha this is related to c# where as I am using msbot sdk v4 node js

    – vaatsalya
    Apr 2 at 8:48











  • @JJ_Wailes I am not using dialogs. I didn't implement it in v4. I am asking how to implement the following v3 code in v4 using node js "session.endConversation("Thank you for your business!");"

    – vaatsalya
    Apr 2 at 8:56











  • In order for anyone to be able to help you, you have to post the code of what you've tried so far.

    – JJ_Wailes
    Apr 2 at 15:25
















You should check out this post, I guess. hope this helps. stackoverflow.com/questions/43657463/how-to-end-a-conversation/…

– Tejas Bramhecha
Mar 26 at 11:14






You should check out this post, I guess. hope this helps. stackoverflow.com/questions/43657463/how-to-end-a-conversation/…

– Tejas Bramhecha
Mar 26 at 11:14














Can you post how you're trying to end your dialog? The full code snippet?

– JJ_Wailes
Mar 26 at 14:53





Can you post how you're trying to end your dialog? The full code snippet?

– JJ_Wailes
Mar 26 at 14:53













@TejasBramhecha this is related to c# where as I am using msbot sdk v4 node js

– vaatsalya
Apr 2 at 8:48





@TejasBramhecha this is related to c# where as I am using msbot sdk v4 node js

– vaatsalya
Apr 2 at 8:48













@JJ_Wailes I am not using dialogs. I didn't implement it in v4. I am asking how to implement the following v3 code in v4 using node js "session.endConversation("Thank you for your business!");"

– vaatsalya
Apr 2 at 8:56





@JJ_Wailes I am not using dialogs. I didn't implement it in v4. I am asking how to implement the following v3 code in v4 using node js "session.endConversation("Thank you for your business!");"

– vaatsalya
Apr 2 at 8:56













In order for anyone to be able to help you, you have to post the code of what you've tried so far.

– JJ_Wailes
Apr 2 at 15:25





In order for anyone to be able to help you, you have to post the code of what you've tried so far.

– JJ_Wailes
Apr 2 at 15:25












1 Answer
1






active

oldest

votes


















0














You never posted any code to show what you've tried so far, so I'm going to go out on a limb and assume you mean the following:



V3:



function (session, result, next) 
//stuff
session.endConversation("Nice to meet you.")



V4:



async functionName(step) 
//stuff
await step.context.sendActivity("Nice to meet you.");
await step.endDialog();






share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55349648%2fhow-to-end-a-conversation-in-msbot-sdk-v4-using-node-js%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You never posted any code to show what you've tried so far, so I'm going to go out on a limb and assume you mean the following:



    V3:



    function (session, result, next) 
    //stuff
    session.endConversation("Nice to meet you.")



    V4:



    async functionName(step) 
    //stuff
    await step.context.sendActivity("Nice to meet you.");
    await step.endDialog();






    share|improve this answer



























      0














      You never posted any code to show what you've tried so far, so I'm going to go out on a limb and assume you mean the following:



      V3:



      function (session, result, next) 
      //stuff
      session.endConversation("Nice to meet you.")



      V4:



      async functionName(step) 
      //stuff
      await step.context.sendActivity("Nice to meet you.");
      await step.endDialog();






      share|improve this answer

























        0












        0








        0







        You never posted any code to show what you've tried so far, so I'm going to go out on a limb and assume you mean the following:



        V3:



        function (session, result, next) 
        //stuff
        session.endConversation("Nice to meet you.")



        V4:



        async functionName(step) 
        //stuff
        await step.context.sendActivity("Nice to meet you.");
        await step.endDialog();






        share|improve this answer













        You never posted any code to show what you've tried so far, so I'm going to go out on a limb and assume you mean the following:



        V3:



        function (session, result, next) 
        //stuff
        session.endConversation("Nice to meet you.")



        V4:



        async functionName(step) 
        //stuff
        await step.context.sendActivity("Nice to meet you.");
        await step.endDialog();







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 10 at 23:42









        JJ_WailesJJ_Wailes

        1,1641 gold badge3 silver badges15 bronze badges




        1,1641 gold badge3 silver badges15 bronze badges


















            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







            Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55349648%2fhow-to-end-a-conversation-in-msbot-sdk-v4-using-node-js%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

            155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해