{"action":"created","comment":{"url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/pulls/comments/81359886","pull_request_review_id":2346538,"id":81359886,"diff_hunk":"@@ -24,8 +24,19 @@ setInterval(function () {\n \n         console.log('Starting survey for address:', address);\n \n-        // start survey dialog using stored address\n-        bot.beginDialog(address, '/survey');\n+        // new conversation address, copy without conversationId\n+        var newConversationAddress = Object.assign({}, address);\n+        delete newConversationAddress.conversation;\n+\n+        // start survey dialog\n+        bot.beginDialog(newConversationAddress, '/survey', null, (err) => {\n+            if(err) {\n+                // error ocurred while starting new conversation. Channel not supported?\n+                bot.send(new builder.Message()","path":"Node/core-CreateNewConversation/app.js","position":14,"original_position":14,"commit_id":"f3d78ad20c1d59b7204d230f3e4ae9b13303509d","original_commit_id":"f3d78ad20c1d59b7204d230f3e4ae9b13303509d","user":{"login":"pcostantini","id":57197,"avatar_url":"https://avatars.githubusercontent.com/u/57197?v=3","gravatar_id":"","url":"https://api.github.com/users/pcostantini","html_url":"https://github.com/pcostantini","followers_url":"https://api.github.com/users/pcostantini/followers","following_url":"https://api.github.com/users/pcostantini/following{/other_user}","gists_url":"https://api.github.com/users/pcostantini/gists{/gist_id}","starred_url":"https://api.github.com/users/pcostantini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcostantini/subscriptions","organizations_url":"https://api.github.com/users/pcostantini/orgs","repos_url":"https://api.github.com/users/pcostantini/repos","events_url":"https://api.github.com/users/pcostantini/events{/privacy}","received_events_url":"https://api.github.com/users/pcostantini/received_events","type":"User","site_admin":false},"body":"As an alternative fallback, the survey can be triggered in the existing dialog by simply using:\r\n````bot.beginDialog(address, '/survey');````","created_at":"2016-09-30T15:22:17Z","updated_at":"2016-09-30T15:22:17Z","html_url":"https://github.com/southworkscom/BotBuilder-Samples/pull/4#discussion_r81359886","pull_request_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/pulls/comments/81359886"},"html":{"href":"https://github.com/southworkscom/BotBuilder-Samples/pull/4#discussion_r81359886"},"pull_request":{"href":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/pulls/4","id":87513800,"html_url":"https://github.com/southworkscom/BotBuilder-Samples/pull/4","diff_url":"https://github.com/southworkscom/BotBuilder-Samples/pull/4.diff","patch_url":"https://github.com/southworkscom/BotBuilder-Samples/pull/4.patch","issue_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/issues/4","number":4,"state":"open","locked":false,"title":"[CreateNewConversation] Handling API Operation error when Channel does not support it","user":{"login":"pcostantini","id":57197,"avatar_url":"https://avatars.githubusercontent.com/u/57197?v=3","gravatar_id":"","url":"https://api.github.com/users/pcostantini","html_url":"https://github.com/pcostantini","followers_url":"https://api.github.com/users/pcostantini/followers","following_url":"https://api.github.com/users/pcostantini/following{/other_user}","gists_url":"https://api.github.com/users/pcostantini/gists{/gist_id}","starred_url":"https://api.github.com/users/pcostantini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcostantini/subscriptions","organizations_url":"https://api.github.com/users/pcostantini/orgs","repos_url":"https://api.github.com/users/pcostantini/repos","events_url":"https://api.github.com/users/pcostantini/events{/privacy}","received_events_url":"https://api.github.com/users/pcostantini/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-30T15:21:25Z","updated_at":"2016-09-30T15:22:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4beecde24415e37f8910265f8251fe50097e805","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/pulls/4/commits","review_comments_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/pulls/4/comments","review_comment_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/issues/4/comments","statuses_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/statuses/f3d78ad20c1d59b7204d230f3e4ae9b13303509d","head":{"label":"southworkscom:node-createnewconversation-exceptionhandling","ref":"node-createnewconversation-exceptionhandling","sha":"f3d78ad20c1d59b7204d230f3e4ae9b13303509d","user":{"login":"southworkscom","id":2643983,"avatar_url":"https://avatars.githubusercontent.com/u/2643983?v=3","gravatar_id":"","url":"https://api.github.com/users/southworkscom","html_url":"https://github.com/southworkscom","followers_url":"https://api.github.com/users/southworkscom/followers","following_url":"https://api.github.com/users/southworkscom/following{/other_user}","gists_url":"https://api.github.com/users/southworkscom/gists{/gist_id}","starred_url":"https://api.github.com/users/southworkscom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/southworkscom/subscriptions","organizations_url":"https://api.github.com/users/southworkscom/orgs","repos_url":"https://api.github.com/users/southworkscom/repos","events_url":"https://api.github.com/users/southworkscom/events{/privacy}","received_events_url":"https://api.github.com/users/southworkscom/received_events","type":"Organization","site_admin":false},"repo":{"id":68843257,"name":"BotBuilder-Samples","full_name":"southworkscom/BotBuilder-Samples","owner":{"login":"southworkscom","id":2643983,"avatar_url":"https://avatars.githubusercontent.com/u/2643983?v=3","gravatar_id":"","url":"https://api.github.com/users/southworkscom","html_url":"https://github.com/southworkscom","followers_url":"https://api.github.com/users/southworkscom/followers","following_url":"https://api.github.com/users/southworkscom/following{/other_user}","gists_url":"https://api.github.com/users/southworkscom/gists{/gist_id}","starred_url":"https://api.github.com/users/southworkscom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/southworkscom/subscriptions","organizations_url":"https://api.github.com/users/southworkscom/orgs","repos_url":"https://api.github.com/users/southworkscom/repos","events_url":"https://api.github.com/users/southworkscom/events{/privacy}","received_events_url":"https://api.github.com/users/southworkscom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/southworkscom/BotBuilder-Samples","description":"Welcome to the BotBuilder samples repository. Here you will find task-focused samples in C# and Node.js to help you get started with the Bot Builder SDK!","fork":true,"url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples","forks_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/forks","keys_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/teams","hooks_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/hooks","issue_events_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/issues/events{/number}","events_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/events","assignees_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/assignees{/user}","branches_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/branches{/branch}","tags_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/tags","blobs_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/statuses/{sha}","languages_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/languages","stargazers_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/stargazers","contributors_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/contributors","subscribers_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/subscribers","subscription_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/subscription","commits_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/contents/{+path}","compare_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/merges","archive_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/downloads","issues_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/issues{/number}","pulls_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/pulls{/number}","milestones_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/milestones{/number}","notifications_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/labels{/name}","releases_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/releases{/id}","deployments_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/deployments","created_at":"2016-09-21T17:52:05Z","updated_at":"2016-09-21T17:52:07Z","pushed_at":"2016-09-30T15:21:25Z","git_url":"git://github.com/southworkscom/BotBuilder-Samples.git","ssh_url":"git@github.com:southworkscom/BotBuilder-Samples.git","clone_url":"https://github.com/southworkscom/BotBuilder-Samples.git","svn_url":"https://github.com/southworkscom/BotBuilder-Samples","homepage":"https://github.com/Microsoft/BotBuilder","size":7035,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"southworkscom:master","ref":"master","sha":"0afde126259ff43a4f3e3b0d944576f98b8d94f3","user":{"login":"southworkscom","id":2643983,"avatar_url":"https://avatars.githubusercontent.com/u/2643983?v=3","gravatar_id":"","url":"https://api.github.com/users/southworkscom","html_url":"https://github.com/southworkscom","followers_url":"https://api.github.com/users/southworkscom/followers","following_url":"https://api.github.com/users/southworkscom/following{/other_user}","gists_url":"https://api.github.com/users/southworkscom/gists{/gist_id}","starred_url":"https://api.github.com/users/southworkscom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/southworkscom/subscriptions","organizations_url":"https://api.github.com/users/southworkscom/orgs","repos_url":"https://api.github.com/users/southworkscom/repos","events_url":"https://api.github.com/users/southworkscom/events{/privacy}","received_events_url":"https://api.github.com/users/southworkscom/received_events","type":"Organization","site_admin":false},"repo":{"id":68843257,"name":"BotBuilder-Samples","full_name":"southworkscom/BotBuilder-Samples","owner":{"login":"southworkscom","id":2643983,"avatar_url":"https://avatars.githubusercontent.com/u/2643983?v=3","gravatar_id":"","url":"https://api.github.com/users/southworkscom","html_url":"https://github.com/southworkscom","followers_url":"https://api.github.com/users/southworkscom/followers","following_url":"https://api.github.com/users/southworkscom/following{/other_user}","gists_url":"https://api.github.com/users/southworkscom/gists{/gist_id}","starred_url":"https://api.github.com/users/southworkscom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/southworkscom/subscriptions","organizations_url":"https://api.github.com/users/southworkscom/orgs","repos_url":"https://api.github.com/users/southworkscom/repos","events_url":"https://api.github.com/users/southworkscom/events{/privacy}","received_events_url":"https://api.github.com/users/southworkscom/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/southworkscom/BotBuilder-Samples","description":"Welcome to the BotBuilder samples repository. Here you will find task-focused samples in C# and Node.js to help you get started with the Bot Builder SDK!","fork":true,"url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples","forks_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/forks","keys_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/teams","hooks_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/hooks","issue_events_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/issues/events{/number}","events_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/events","assignees_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/assignees{/user}","branches_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/branches{/branch}","tags_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/tags","blobs_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/git/refs{/sha}","trees_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/statuses/{sha}","languages_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/languages","stargazers_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/stargazers","contributors_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/contributors","subscribers_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/subscribers","subscription_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/subscription","commits_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/commits{/sha}","git_commits_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/git/commits{/sha}","comments_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/comments{/number}","issue_comment_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/issues/comments{/number}","contents_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/contents/{+path}","compare_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/merges","archive_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/downloads","issues_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/issues{/number}","pulls_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/pulls{/number}","milestones_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/milestones{/number}","notifications_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/labels{/name}","releases_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/releases{/id}","deployments_url":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/deployments","created_at":"2016-09-21T17:52:05Z","updated_at":"2016-09-21T17:52:07Z","pushed_at":"2016-09-30T15:21:25Z","git_url":"git://github.com/southworkscom/BotBuilder-Samples.git","ssh_url":"git@github.com:southworkscom/BotBuilder-Samples.git","clone_url":"https://github.com/southworkscom/BotBuilder-Samples.git","svn_url":"https://github.com/southworkscom/BotBuilder-Samples","homepage":"https://github.com/Microsoft/BotBuilder","size":7035,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/pulls/4"},"html":{"href":"https://github.com/southworkscom/BotBuilder-Samples/pull/4"},"issue":{"href":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/issues/4"},"comments":{"href":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/southworkscom/BotBuilder-Samples/statuses/f3d78ad20c1d59b7204d230f3e4ae9b13303509d"}}}}
{"actor":{"display_login":"pcostantini"}}