botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[Question] Prompt Dialog Not Showing Up in Skype

Open neetgupta7 opened this issue 9 years ago • 3 comments

Hello I am making use of PromptDialogs for Confirmation and Choices. While these work fine on emulator and web chat but when I use them on Skype (for personal use on web or ios app) buttons for confirmation and choices do not work. Can somebody please help. skype web chat screenshot

neetgupta7 avatar Jun 15 '17 05:06 neetgupta7

Can you add more code details of your implementation (or maybe switch to StackOverflow and add all them there)?

I don't have problems on PromptDialog.Choice in a basic case on Skype:

public async Task StartAsync(IDialogContext context)
{
    List<string> opt = new List<string>
    {
        "One Way",
        "Round Trip"
    };
    PromptDialog.Choice(context, Git2947ResumeChoice, opt, "What type of flight you want to book?");
}

private async Task Git2947ResumeChoice(IDialogContext context, IAwaitable<object> result)
{
    var res = await result;
    await context.PostAsync($"You selected {res}");
}

Output is looking like that: capture d ecran 2017-06-15 a 15 40 04

I tested it and this is working at least on:

  • Skype app on Mac OS
  • Skype app on iOS
  • Skype app on Windows10

nrobert avatar Jun 15 '17 13:06 nrobert

@neetgupta7 Are you using .NET or Node SDK? Can you share the code that is causing the issue?

nwhitmont avatar Jun 15 '17 14:06 nwhitmont

Thanks for your replies. I used Prompt styler as Keyboard instead of auto and that's why it was not working as expected. After making it auto it worked on. BTW I am using .net. Not sure what should be done separately for Keyboard styler.

neetgupta7 avatar Jun 15 '17 16:06 neetgupta7