Bixby Developer Center

Guides
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

Plain Text Example:

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

View 6452bfa42a9dac74ec0808b321c5e0b458894aeb on GitHub

Expression Language Examples:

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

View 6452bfa42a9dac74ec0808b321c5e0b458894aeb 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