Sinch Node.js SDK - v1.5.0
    Preparing search index...

    Interface Conversation

    A collection of messages exchanged between a contact and an app. Conversations are normally created on the fly by Conversation API once a message is sent and there is no active conversation already. There can be only one active conversation at any given time between a particular contact and an app.

    interface Conversation {
        active?: boolean;
        active_channel?: string;
        app_id?: string;
        contact_id?: string;
        correlation_id?: string;
        id?: string;
        last_received?: Date;
        metadata?: string;
        metadata_json?: object;
    }
    Index

    Properties

    active?: boolean

    Flag for whether this conversation is active.

    active_channel?: string

    ConversationChannel

    app_id?: string

    The ID of the participating app.

    contact_id?: string

    The ID of the participating contact.

    correlation_id?: string

    Arbitrary correlation ID related to the MT message set by the Conversation API user. Up to 128 characters long.

    id?: string

    The ID of the conversation.

    last_received?: Date

    The timestamp of the latest message in the conversation. The timestamp will be Thursday January 01, 1970 00:00:00 UTC if the conversation contains no messages.

    metadata?: string

    Arbitrary data set by the Conversation API clients. Up to 1024 characters long. NOTE: This field has been deprecated due to changes in the system architecture or functionality.

    It is no longer actively maintained and may be removed in future versions. Please avoid relying on this field in new code.

    metadata_json?: object

    Arbitrary data set by the Conversation API clients and/or provided in the conversation_metadata field of a SendMessageRequest. A valid JSON object.