{"action":"closed","issue":{"url":"https://api.github.com/repos/MicrosoftDocs/bot-docs/issues/563","repository_url":"https://api.github.com/repos/MicrosoftDocs/bot-docs","labels_url":"https://api.github.com/repos/MicrosoftDocs/bot-docs/issues/563/labels{/name}","comments_url":"https://api.github.com/repos/MicrosoftDocs/bot-docs/issues/563/comments","events_url":"https://api.github.com/repos/MicrosoftDocs/bot-docs/issues/563/events","html_url":"https://github.com/MicrosoftDocs/bot-docs/issues/563","id":383249480,"node_id":"MDU6SXNzdWUzODMyNDk0ODA=","number":563,"title":"How to log bot reply to user message?","user":{"login":"EugeneFoo","id":7246280,"node_id":"MDQ6VXNlcjcyNDYyODA=","avatar_url":"https://avatars2.githubusercontent.com/u/7246280?v=4","gravatar_id":"","url":"https://api.github.com/users/EugeneFoo","html_url":"https://github.com/EugeneFoo","followers_url":"https://api.github.com/users/EugeneFoo/followers","following_url":"https://api.github.com/users/EugeneFoo/following{/other_user}","gists_url":"https://api.github.com/users/EugeneFoo/gists{/gist_id}","starred_url":"https://api.github.com/users/EugeneFoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EugeneFoo/subscriptions","organizations_url":"https://api.github.com/users/EugeneFoo/orgs","repos_url":"https://api.github.com/users/EugeneFoo/repos","events_url":"https://api.github.com/users/EugeneFoo/events{/privacy}","received_events_url":"https://api.github.com/users/EugeneFoo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-11-21T18:43:09Z","updated_at":"2018-11-26T22:58:23Z","closed_at":"2018-11-26T22:58:23Z","author_association":"NONE","body":"Hi, I tried the above sample however it's only show user message to bot information in the context below:\n\n{ type: 'message',\n  text: 'Robot begins.',\n  from: { id: 'd75e5365-43e9-4a3b-ac31-7ed81890a3b1', name: 'User' },\n  locale: '',\n  textFormat: 'plain',\n  timestamp: '2018-11-21T18:36:18.772Z',\n  channelData: { clientActivityId: '1542825376552.5753502099783043.0' },\n  entities: \n   [ { type: 'ClientCapabilities',\n       requiresBotState: true,\n       supportsTts: true,\n       supportsListening: true } ],\n  channelId: 'emulator',\n  conversation: { id: '54b3bc60-edbc-11e8-ac4c-eb4fd75fe5ff|livechat' },\n  id: '5606c940-edbc-11e8-9437-ff0e7af78dc6',\n  localTimestamp: '2018-11-22T02:36:18+08:00',\n  recipient: \n   { id: '8b995130-c487-11e8-ac6c-83c26c0aab90',\n     name: 'Bot',\n     role: 'bot' },\n  serviceUrl: 'http://localhost:57244' }\n\nHow can I get the bot reply as well for logging?\n\n---\n#### Document Details\n\n⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*\n\n* ID: cf8f39f5-1a91-6fdb-3cc0-124b282e9806\n* Version Independent ID: 701f9b3c-a893-dee1-d012-760e6f870ec4\n* Content: [Write directly to storage - Bot Service](https://docs.microsoft.com/en-us/azure/bot-service/bot-builder-howto-v4-storage?view=azure-bot-service-4.0&tabs=javascript)\n* Content Source: [articles/v4sdk/bot-builder-howto-v4-storage.md](https://github.com/MicrosoftDocs/bot-docs/blob/live/articles/v4sdk/bot-builder-howto-v4-storage.md)\n* Service: **bot-service**\n* Product: **bot-framework**\n* GitHub Login: @DeniseMak\n* Microsoft Alias: **v-demak**"}}
{"actor":{"display_login":"EugeneFoo"}}