protected override async Task OnMessageActivityAsync(ITurnContext <IMessageActivity> turnContext, CancellationToken cancellationToken) { try { var activity = turnContext.Activity as Activity; if (activity != null && turnContext?.Activity?.Text != null) { DataModel.RememberUser(activity, turnContext); activity = await _botService.Do(/*activity*/ turnContext); } } catch (Exception ex) { await turnContext.SendActivityAsync(MessageFactory.Text(ex.Message), cancellationToken); } }