Represents a payload wrapper that contains an Open Floor envelope This is the top-level structure as defined in the specification
const payload = new Payload({ openFloor: { conversation: { id: 'conv:12345' }, sender: { speakerUri: 'tag:example.com,2025:agent1' }, events: [] }}); Copy
const payload = new Payload({ openFloor: { conversation: { id: 'conv:12345' }, sender: { speakerUri: 'tag:example.com,2025:agent1' }, events: [] }});
Creates a new Payload instance
Payload configuration options
Error if openFloor is missing
Readonly
Convert to JSON string
Convert to plain object
Static
Creates a Payload from a JSON string
Represents a payload wrapper that contains an Open Floor envelope This is the top-level structure as defined in the specification
Example