BotBuilder-Samples icon indicating copy to clipboard operation
BotBuilder-Samples copied to clipboard

The bot sends the welcome message only when I start writing something (WebChat V4)

Open D33TW0 opened this issue 6 years ago • 6 comments

Github issues for C#

Sample information

  1. Sample type: sample
  2. Sample language: dotnetcore
  3. Sample name: Dispatch Bot Sample

Describe the bug

When I want to write in the webchat with the bot he does not send the welcome message to me. Only when I start to write something, he sends me the welcome message + the answer

To Reproduce

Follow the Tutorial from the Dispatch Bot Template Add the Webchat in the Channels Open the Bot via the Webchat (The iFrame Snippet from the Webchat Channel) = He isnt instantly sending the welcome message

Expected behavior

the bot should directly send the Welcome message

Screenshots

In this screenshot, i changed the normal text-output with an Adaptive Card Unbenannt

[bug]

D33TW0 avatar Mar 20 '20 13:03 D33TW0

@danieldangler, the welcome message displays as you begin to type or after you have hit the send button?

stevkan avatar Mar 24 '20 15:03 stevkan

@danieldangler, the welcome message displays as you begin to type or after you have hit the send button?

@stevkan only after i press the send button

D33TW0 avatar Mar 24 '20 16:03 D33TW0

@stevkan Any updates on this?

cleemullins avatar Apr 06 '20 18:04 cleemullins

@danieldangler, thank you for your patience. I've tried replicating your issue but am not able to. Your method of implementing an adaptive card as a welcome response doesn't quite match the method demonstrated in the sample shown here.

Could update your code to match, test again, and let me know if this affects the timing of the welcome message displaying?

stevkan avatar Apr 08 '20 11:04 stevkan

@danieldangler, can you also verify for me which channel you are using? And, do you encounter the same issue if you test other channels, namely Emulator and customizable Web Chat, if you have that one setup.

In testing the iframe Web Chat version, any welcome message is not sending upon connection which, I believe, is expected behavior. I will need to double check that to be certain.

stevkan avatar Apr 08 '20 17:04 stevkan

Closing due to inactivity.

tonyanziano avatar Apr 20 '20 18:04 tonyanziano