Skip to content

session_config message

The answer to the client's session_config (receive_acknowledgments).

Delivery

On the WebSocket with messages_config.receive_acknowledgments; to your callback as live.session_config with callback_config.receive_acknowledgments.

Fields

  • session_id string required

    Identifier of the session.

  • created_at string required

    When the message was sent (ISO 8601, UTC).

  • type "session_config" required
  • acknowledged boolean required

    false: nothing changed, error says why (a setting that cannot change, an invalid value, a change already in progress, more than one change a second).

  • error string

    default: null

  • data object required
    3 fields
    • effective object required

      The settings the request named, as now in force (defaults filled in; never the others); null when the request was refused (the settings are unchanged).

    • effective_at number required

      The session's second from which the new settings apply (the end of the last final); null when the request was refused.

    • version integer required

      How many changes the session has had, this one included.

Example

{
"session_id": "string",
"created_at": "string",
"type": "session_config",
"acknowledged": false,
"error": "string",
"data": {
"effective": {},
"effective_at": 0.5,
"version": 0
}
}