Пример #1
0
        public async Task PayInvoice(IDialogContext context, LuisResult result)
        {
            var invoice = new InvoiceInfo();

            invoice.InvoiceNumber = "123456";
            invoice.Amount        = 400m;

            await context.PostAsync($"Visa guidat flöde för att betala din faktura (FormFlow)");

            context.Wait(MessageReceived);
        }
Пример #2
0
        public async Task ShowInvoiceInformation(IDialogContext context, LuisResult result)
        {
            var invoice = new InvoiceInfo();

            invoice.InvoiceNumber = "123456";
            invoice.Amount        = 400m;

            await context.PostAsync($"Information kring din faktura: {invoice.InvoiceNumber} med belopp {invoice.Amount}");

            context.Wait(MessageReceived);
        }