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

    Function createSimpleEnvelope

    • Creates a simple conversation envelope

      Parameters

      • options: {
            conversationId?: string;
            events?: Event[];
            schemaUrl?: string;
            schemaVersion?: string;
            senderServiceUrl?: string;
            senderUri: string;
        }

        Envelope options

      Returns Envelope

      Envelope instance

      const envelope = createSimpleEnvelope({
      conversationId: 'conv:123',
      senderUri: 'tag:example.com,2025:bot1',
      events: [utteranceEvent]
      });