initialMessage property
A message to send automatically, exactly once, as soon as this widget's conversation has initialized. Use it to resume a request the user made elsewhere in a fresh conversation — e.g. a guest asked the bot for something gated, signed in (which remounts the chat under their real identity via a new key), and the host wants that request replayed so the answer streams in with the normal loading shimmer instead of being stranded in the pre-login exchange.
Sent once per widget instance: it fires on first init and is NOT resent across rebuilds. Because a key change tears down and rebuilds the widget, pair this with a stable key and clear/repopulate the value host-side so it only replays when you intend. Null or blank = no-op.
Implementation
final String? initialMessage;