D-ID Client SDK - v3.0.0-0
    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"

    Messages that drive a presentation the agent is showing alongside its video, such as moving to another slide. Sent on the wire as did.presentation; the payload shape is whatever the presentation the agent is running expects.