Share via


MessageTemplate interface

The template object used to create templates.

Properties

bindings

The binding object to link values to the template specific locations

language

The template's language, in the ISO 639 format, consist of a two-letter language code followed by an optional two-letter country code, e.g., 'en' or 'en_US'.

name

Name of the template.

values

The template values.

Property Details

bindings

The binding object to link values to the template specific locations

bindings?: MessageTemplateBindings

Property Value

language

The template's language, in the ISO 639 format, consist of a two-letter language code followed by an optional two-letter country code, e.g., 'en' or 'en_US'.

language: string

Property Value

string

name

Name of the template.

name: string

Property Value

string

values

The template values.

values?: MessageTemplateValue[]

Property Value