Exemplo n.º 1
0
        public BotHubRoute(Activity activity)
        {
            _channelId      = activity.ChannelId;
            _conversationId = activity.Conversation.Id;
            _service        = activity.ServiceUrl;
            _serviceUri     = new Uri(activity.ServiceUrl);

            _locale     = activity.Locale;
            _botAccount = activity.Recipient;

            _botPostBack = new BotPostBack(this);
            _queue       = new BotQueue();
        }
Exemplo n.º 2
0
 public BotProxy(BotQueue receive, BotPostBack send)
 {
     _receive = receive;
     _send    = send;
 }
Exemplo n.º 3
0
 public UserActivator(string id, BotQueue receive, BotPostBack send)
 {
     _id    = id;
     _proxy = new BotProxy(receive, send);
 }