Bixby Developer Center

References

template

optionalvalue required

Text to be passed. You can specify a string and/or use Expression Language, as demonstrated in the examples below.

Examples

The following example uses plain text:

    template("Which space resort would you like?")

View 1e25bcd on GitHub

The following examples use expression language:

    template ("Suit up, your trip[ to #{value(receipt.item.spaceResort.planet)}] is starting soon!")

View 1e25bcd on GitHub

dialog (Value) {
match: NumberOfAstronauts (this)

template("#{value (this)} #{concept (this)}")
}

View master on GitHub

Child Keys

speech
optional
The client uses speech as the text-to-speech (TTS) string that corresponds to template text