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(); }
public BotProxy(BotQueue receive, BotPostBack send) { _receive = receive; _send = send; }
public UserActivator(string id, BotQueue receive, BotPostBack send) { _id = id; _proxy = new BotProxy(receive, send); }