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

    Interface OptInNotification

    interface OptInNotification {
        channel?: string;
        contact_id?: string;
        error_details?: OptInNotificationErrorDetails;
        identity?: string;
        processing_mode?: string;
        request_id?: string;
        status?: "OPT_IN_SUCCEEDED" | "OPT_IN_FAILED" | "OPT_IN_STATUS_UNSPECIFIED";
    }
    Index

    Properties

    channel?: string

    ConversationChannel

    contact_id?: string

    The ID of the contact which is the subject of the opt-in. Will be empty if processing_mode is DISPATCH.

    OptInNotificationErrorDetails

    identity?: string

    The channel identity. For example, a phone number for SMS, WhatsApp and Viber Business.

    processing_mode?: string

    ProcessingMode

    request_id?: string

    ID generated when making an opt-in registration request. Can be used to detect duplicates.

    status?: "OPT_IN_SUCCEEDED" | "OPT_IN_FAILED" | "OPT_IN_STATUS_UNSPECIFIED"

    Status of the opt-in registration.