Package 

Class StartChatOptions


  • 
    public final class StartChatOptions
    
                        

    Options for OrigonClient.startChat.

    firstMessage is REQUIRED, and that is the whole point of the split from the old startSession. The server runs a two-stage gate on every chat: the flow does not start until the visitor has actually said something, and a session that stays silent past the deadline is reaped. An API that opened a session and then waited for a human to type was racing that deadline; carrying the message here makes the race unreachable.

    Attachment-only is valid — the gate fires on ANY visitor content.