D-ID Client SDK - v3.0.0-0
    Preparing search index...

    Interface MessageSentiment

    The sentiment an agent answer was delivered with, as the server reported it.

    The shape of Message.sentiment. It is an object rather than a string because the server reports both the id of the sentiment it used and its name, where TextStreamScript.sentiment — the sentiment the application asks for — is just the name.

    interface MessageSentiment {
        id: string;
        name: string;
    }
    Index
    id: string

    Id of the sentiment, as the server sent it.

    name: string

    Name of the sentiment, as the server sent it.