{"action":"opened","issue":{"url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/727","repository_url":"https://api.github.com/repos/TwilioDevEd/api-snippets","labels_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/727/labels{/name}","comments_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/727/comments","events_url":"https://api.github.com/repos/TwilioDevEd/api-snippets/issues/727/events","html_url":"https://github.com/TwilioDevEd/api-snippets/issues/727","id":386367133,"node_id":"MDU6SXNzdWUzODYzNjcxMzM=","number":727,"title":"csharp autopilot samplecode for create-first-task is incorrect","user":{"login":"ForeEyes","id":3952456,"node_id":"MDQ6VXNlcjM5NTI0NTY=","avatar_url":"https://avatars2.githubusercontent.com/u/3952456?v=4","gravatar_id":"","url":"https://api.github.com/users/ForeEyes","html_url":"https://github.com/ForeEyes","followers_url":"https://api.github.com/users/ForeEyes/followers","following_url":"https://api.github.com/users/ForeEyes/following{/other_user}","gists_url":"https://api.github.com/users/ForeEyes/gists{/gist_id}","starred_url":"https://api.github.com/users/ForeEyes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ForeEyes/subscriptions","organizations_url":"https://api.github.com/users/ForeEyes/orgs","repos_url":"https://api.github.com/users/ForeEyes/repos","events_url":"https://api.github.com/users/ForeEyes/events{/privacy}","received_events_url":"https://api.github.com/users/ForeEyes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-30T22:02:40Z","updated_at":"2018-11-30T22:02:40Z","closed_at":null,"author_association":"NONE","body":"The task actions in the sample code should be an array:\r\n\r\n```csharp\r\nvar taskActions = new JObject {\r\n    {\r\n        \"actions\",\r\n        new JArray {\r\n            new JObject {\r\n                { \"say\", \"Hi there, I'm your virtual assistant! How can I help you?\" }\r\n            },\r\n            new JObject {\r\n                { \"listen\", true }\r\n            }\r\n        }\r\n    }\r\n};\r\n```"}}
{"actor":{"display_login":"ForeEyes"}}