fromString

Parses a PreChatMode from its string name, defaulting to SubmissionReceipt if unrecognized.

Return

The matching PreChatMode or SubmissionReceipt as the default.

Parameters

value

The string name to parse, or null.