Interface TemplateTranslationBase
- All Known Subinterfaces:
TemplateTranslation
public interface TemplateTranslationBase
TemplateTranslationBase
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Dedicated Builder -
Method Summary
Modifier and TypeMethodDescriptionField to override the omnichannel template by referring to a channel-specific template.Timestamp when the translation was created.The BCP-47 language code, such asen-US
orsr-Latn
.Timestamp of when the translation was updated.List of expected variables.The version of the translation.
-
Method Details
-
getLanguageCode
String getLanguageCode()The BCP-47 language code, such asen-US
orsr-Latn
. For more information, see https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.- Returns:
- languageCode
-
getVersion
String getVersion()The version of the translation.- Returns:
- version
-
getChannelTemplateOverrides
Map<ConversationChannel,ChannelTemplateOverride> getChannelTemplateOverrides()Field to override the omnichannel template by referring to a channel-specific template. The key in the map must point to a valid conversation channel. Currently onlyWHATSAPP
andKAKAOTALK
are supported- Returns:
- channelTemplateOverrides
-
getVariables
List<TemplateVariable> getVariables()List of expected variables. Can be used for request validation.- Returns:
- variables
-
getCreateTime
Instant getCreateTime()Timestamp when the translation was created.- Returns:
- createTime
-
getUpdateTime
Instant getUpdateTime()Timestamp of when the translation was updated.- Returns:
- updateTime
-