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

    Interface CreateConversationRequest

    The conversation to create.

    interface CreateConversationRequest {
        active?: boolean;
        active_channel?: ConversationChannel;
        app_id: string;
        contact_id: string;
        metadata?: string;
        metadata_json?: object;
    }
    Index

    Properties

    active?: boolean

    Flag for whether this conversation is active.

    active_channel?: ConversationChannel

    ConversationChannel

    app_id: string

    The ID of the participating app.

    contact_id: string

    The ID of the participating contact.

    metadata?: string

    Arbitrary data set by the Conversation API clients. Up to 1024 characters long.

    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.