{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1811","repository_url":"https://api.github.com/repos/Microsoft/BotBuilder","labels_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1811/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1811/comments","events_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1811/events","html_url":"https://github.com/Microsoft/BotBuilder/issues/1811","id":194061892,"number":1811,"title":"How to initiate Proactive Messages in C# (Webchat)","user":{"login":"b4usat","id":20318396,"avatar_url":"https://avatars.githubusercontent.com/u/20318396?v=3","gravatar_id":"","url":"https://api.github.com/users/b4usat","html_url":"https://github.com/b4usat","followers_url":"https://api.github.com/users/b4usat/followers","following_url":"https://api.github.com/users/b4usat/following{/other_user}","gists_url":"https://api.github.com/users/b4usat/gists{/gist_id}","starred_url":"https://api.github.com/users/b4usat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b4usat/subscriptions","organizations_url":"https://api.github.com/users/b4usat/orgs","repos_url":"https://api.github.com/users/b4usat/repos","events_url":"https://api.github.com/users/b4usat/events{/privacy}","received_events_url":"https://api.github.com/users/b4usat/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"msft-shahins","id":17562300,"avatar_url":"https://avatars.githubusercontent.com/u/17562300?v=3","gravatar_id":"","url":"https://api.github.com/users/msft-shahins","html_url":"https://github.com/msft-shahins","followers_url":"https://api.github.com/users/msft-shahins/followers","following_url":"https://api.github.com/users/msft-shahins/following{/other_user}","gists_url":"https://api.github.com/users/msft-shahins/gists{/gist_id}","starred_url":"https://api.github.com/users/msft-shahins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msft-shahins/subscriptions","organizations_url":"https://api.github.com/users/msft-shahins/orgs","repos_url":"https://api.github.com/users/msft-shahins/repos","events_url":"https://api.github.com/users/msft-shahins/events{/privacy}","received_events_url":"https://api.github.com/users/msft-shahins/received_events","type":"User","site_admin":false},"assignees":[{"login":"msft-shahins","id":17562300,"avatar_url":"https://avatars.githubusercontent.com/u/17562300?v=3","gravatar_id":"","url":"https://api.github.com/users/msft-shahins","html_url":"https://github.com/msft-shahins","followers_url":"https://api.github.com/users/msft-shahins/followers","following_url":"https://api.github.com/users/msft-shahins/following{/other_user}","gists_url":"https://api.github.com/users/msft-shahins/gists{/gist_id}","starred_url":"https://api.github.com/users/msft-shahins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msft-shahins/subscriptions","organizations_url":"https://api.github.com/users/msft-shahins/orgs","repos_url":"https://api.github.com/users/msft-shahins/repos","events_url":"https://api.github.com/users/msft-shahins/events{/privacy}","received_events_url":"https://api.github.com/users/msft-shahins/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2016-12-07T14:22:04Z","updated_at":"2016-12-15T06:22:47Z","closed_at":"2016-12-09T19:37:49Z","body":"I referred this [link](https://docs.botframework.com/en-us/node/builder/chat/UniversalBot/#proactive-messaging) for initiating proactive messages. But it is written in Node js. Please help me with some sample for C#. I am using `webchat `as a channel. I am facing one more trouble as i want to set a OAUTH token to my botstate outside of the Bot application. I tried connecting the state with MS app id and password, but to set the Botdata in store i need the `userid `which is dynamic in webchat. How can i do that?"},"comment":{"url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/comments/267249092","html_url":"https://github.com/Microsoft/BotBuilder/issues/1811#issuecomment-267249092","issue_url":"https://api.github.com/repos/Microsoft/BotBuilder/issues/1811","id":267249092,"user":{"login":"kanwal019","id":15017434,"avatar_url":"https://avatars.githubusercontent.com/u/15017434?v=3","gravatar_id":"","url":"https://api.github.com/users/kanwal019","html_url":"https://github.com/kanwal019","followers_url":"https://api.github.com/users/kanwal019/followers","following_url":"https://api.github.com/users/kanwal019/following{/other_user}","gists_url":"https://api.github.com/users/kanwal019/gists{/gist_id}","starred_url":"https://api.github.com/users/kanwal019/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kanwal019/subscriptions","organizations_url":"https://api.github.com/users/kanwal019/orgs","repos_url":"https://api.github.com/users/kanwal019/repos","events_url":"https://api.github.com/users/kanwal019/events{/privacy}","received_events_url":"https://api.github.com/users/kanwal019/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T06:22:47Z","updated_at":"2016-12-15T06:22:47Z","body":"@msft-shahins This works in the emulator, but in the webchat channel the \"ConversationUpdate\" activity, is not able to pass the username, instead displays the bot name in the welcome message. "}}
{"actor":{"display_login":"kanwal019"}}