D-ID Client SDK - v3.0.9
    Preparing search index...

    Enumeration DataChannelTopic

    The data-channel topics an application may send on with sendDataChannelMessage().

    The remaining data-channel topics are driven by their own methods (chat(), speak(), interrupt(), setSttLanguage()), which own the payload shape and bookkeeping those topics expect, so they stay internal.

    The members' values are the wire strings. Take the value from the enum rather than writing the string out, so the wire string stays in one place. Expressive (V4) agents only.

    import { DataChannelTopic } from '@d-id/client-sdk';

    await agentManager.sendDataChannelMessage(DataChannelTopic.Presentation, {
    type: 'navigate',
    slide: 3,
    });
    Index
    Presentation: "did.presentation"

    Tells the agent which slide the user moved to in the deck it is presenting. Sent on the wire as did.presentation. The only payload the agent reads is { type: 'navigate', slide: <integer> }; anything else, or any message while the agent has no deck, is ignored.