@openfloor/protocol - v0.0.4
    Preparing search index...

    Class Envelope

    Represents an Open Floor Protocol message envelope Contains schema, conversation, sender, and events information

    const envelope = new Envelope({
    conversation: { id: 'conv:12345' },
    sender: { speakerUri: 'tag:example.com,2025:agent1' },
    events: [{
    eventType: 'utterance',
    parameters: { dialogEvent: {...} }
    }]
    });

    Implements

    Index

    Constructors

    Properties

    conversation: Conversation
    events: readonly Event[]
    schema: Schema
    sender: Sender

    Methods