setSessionContext
Sets context data to be attached to the next outbound message.
The session context is a one-time payload that is cleared automatically after the next message is sent. Call this immediately before sendMessage to include contextual data (e.g., the page the user is viewing or their current order) with the message.
Pass null to clear any previously set session context without sending a message.
Parameters
sessionContext
The EntryPayload.SessionContextPayload to attach, or null to clear.