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

    Interface ChannelIdentity

    A unique identity of message recipient on a particular channel. For example, the channel identity on SMS, WHATSAPP or VIBERBM is a MSISDN phone number.

    interface ChannelIdentity {
        app_id?: string;
        channel: string;
        identity: string;
    }
    Index

    Properties

    app_id?: string

    Required if using a channel that uses app-scoped channel identities. Currently, FB Messenger, Instagram, LINE, and WeChat use app-scoped channel identities, which means contacts will have different channel identities on different Conversation API apps. These can be thought of as virtual identities that are app-specific and, therefore, the app_id must be included in the API call.

    channel: string

    ConversationChannel

    identity: string

    The channel identity. This will differ from channel to channel. For example, a phone number for SMS, WhatsApp, and Viber Business.