microsoft / BotFramework-WebChat

A highly-customizable web-based client for Azure Bot Services.
https://www.botframework.com/
MIT License
1.6k stars 1.55k forks source link

Add pre-chat message with starter prompts #5255

Closed compulim closed 3 months ago

compulim commented 3 months ago

Fixes #5256.

Changelog Entry

Added

Changed

Fixed

Description

Adding experimental pre-chat message with starter prompts in Fluent skin pack.

Pre-chat message activity is defined as:

Design

image

The pre-chat message activity leverage Schema.org/Message/keywords to tag the message itself as a "PreChatMessage".

We also want to reuse the suggested actions messageBack actions for starter prompts (image, title, text, and optionally display text). Thus, we need to hide the suggested actions in the send box. This also pave the road for the inline suggested actions feature.

Specific Changes

Review Checklist

This section is for contributors to review your work.