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

    Interface V2TemplateResponse

    interface V2TemplateResponse {
        create_time?: Date;
        default_translation: string;
        description?: string;
        id: string;
        translations?: V2TemplateTranslation[];
        update_time?: Date;
        version: number;
    }
    Index

    Properties

    create_time?: Date

    Timestamp when the template was created.

    default_translation: string

    The default translation to use if translation not specified. Specified as a BCP-47 language_code and the language_code must exist in the translations list.

    description?: string

    The description of the template.

    id: string

    The id of the template. Specify this yourself during creation. Otherwise, we will generate an ID for you. This must be unique for a given project.

    translations?: V2TemplateTranslation[]

    List of V2TemplateTranslationResponses

    update_time?: Date

    Timestamp when the template was updated.

    version: number

    The version of the template. While creating a template, this will be defaulted to 1. When updating a template, you must supply the latest version of the template in order for the update to be successful.