{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/74","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/74/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/74/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/74","id":146795640,"number":74,"title":"[NodeJS] add Prompts.attachment() method for asking the user to upload a file.","user":{"login":"Stevenic","id":698939,"avatar_url":"https://avatars.githubusercontent.com/u/698939?v=3","gravatar_id":"","url":"https://api.github.com/users/Stevenic","html_url":"https://github.com/Stevenic","followers_url":"https://api.github.com/users/Stevenic/followers","following_url":"https://api.github.com/users/Stevenic/following{/other_user}","gists_url":"https://api.github.com/users/Stevenic/gists{/gist_id}","starred_url":"https://api.github.com/users/Stevenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stevenic/subscriptions","organizations_url":"https://api.github.com/users/Stevenic/orgs","repos_url":"https://api.github.com/users/Stevenic/repos","events_url":"https://api.github.com/users/Stevenic/events{/privacy}","received_events_url":"https://api.github.com/users/Stevenic/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/BotBuilder/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"Stevenic","id":698939,"avatar_url":"https://avatars.githubusercontent.com/u/698939?v=3","gravatar_id":"","url":"https://api.github.com/users/Stevenic","html_url":"https://github.com/Stevenic","followers_url":"https://api.github.com/users/Stevenic/followers","following_url":"https://api.github.com/users/Stevenic/following{/other_user}","gists_url":"https://api.github.com/users/Stevenic/gists{/gist_id}","starred_url":"https://api.github.com/users/Stevenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stevenic/subscriptions","organizations_url":"https://api.github.com/users/Stevenic/orgs","repos_url":"https://api.github.com/users/Stevenic/repos","events_url":"https://api.github.com/users/Stevenic/events{/privacy}","received_events_url":"https://api.github.com/users/Stevenic/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-04-08T02:28:22Z","updated_at":"2016-04-18T03:42:04Z","closed_at":"2016-04-18T03:42:04Z","body":"This idea comes from a stackoverflow question:\r\n\r\nhttp://stackoverflow.com/questions/36481847/prompt-for-file-in-microsoft-bot-framework-for-skype-node-js\r\n\r\nThe developer wants to prompt a user to upload a file.  Adding a Prompts.attachment() method for this would make it easy to request the user upload a file as a step within a waterfall.  The prompt would wait until it gets an attachment from the user before continuing and would be cancelable just like any other prompt.  It could also take an optional list of content types that it would use to validate the attachment the user sent."},"comment":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/comments/211177481","html_url":"https://github.com/Microsoft/BotBuilder/issues/74#issuecomment-211177481","issue_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/74","id":211177481,"user":{"login":"Stevenic","id":698939,"avatar_url":"https://avatars.githubusercontent.com/u/698939?v=3","gravatar_id":"","url":"https://api.github.com/users/Stevenic","html_url":"https://github.com/Stevenic","followers_url":"https://api.github.com/users/Stevenic/followers","following_url":"https://api.github.com/users/Stevenic/following{/other_user}","gists_url":"https://api.github.com/users/Stevenic/gists{/gist_id}","starred_url":"https://api.github.com/users/Stevenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stevenic/subscriptions","organizations_url":"https://api.github.com/users/Stevenic/orgs","repos_url":"https://api.github.com/users/Stevenic/repos","events_url":"https://api.github.com/users/Stevenic/events{/privacy}","received_events_url":"https://api.github.com/users/Stevenic/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T03:42:04Z","updated_at":"2016-04-18T03:42:04Z","body":"Moved to UserVoice:\r\n\r\nhttps://feedback.botframework.com/forums/354222-bot-builder-sdk/suggestions/13463412--nodejs-add-prompts-attachment-method-for-askin\r\n"}}