Exemplo n.º 1
0
        private async Task <DialogTurnResult> SendLinkStepAsync(WaterfallStepContext stepContext, CancellationToken cancellationToken)
        {
            var card = _uiService.GetLoginCard();

            return(await stepContext.PromptAsync(SendOAuthLinkPrompt,
                                                 new PromptOptions
            {
                Prompt = MessageFactory.Attachment(card) as Activity
            },
                                                 cancellationToken));
        }