Sinch Node.js SDK - v0.0.2
    Preparing search index...

    Interface TemplateReference

    The referenced template can be an omnichannel template stored in Conversation API Template Store as AppMessage or it can reference external channel-specific template such as WhatsApp Business Template.

    interface TemplateReference {
        language_code?: string;
        parameters?: { [key: string]: string };
        template_id: string;
        version: string;
    }
    Index

    Properties

    language_code?: string

    The BCP-47 language code, such as en-US or sr-Latn. For more information, see http://www.unicode.org/reports/tr35/#Unicode_locale_identifier. English is the default language_code.

    parameters?: { [key: string]: string }

    Required if the template has parameters. Concrete values must be present for all defined parameters in the template. Parameters can be different for different versions and/or languages of the template.

    template_id: string

    The ID of the template.

    version: string

    Used to specify what version of a template to use. This will be used in conjunction with language_code.