Interface TemplateTranslationBase

All Known Subinterfaces:
TemplateTranslation

public interface TemplateTranslationBase
TemplateTranslationBase
  • Method Details

    • getLanguageCode

      String getLanguageCode()
      The BCP-47 language code, such as en-US or sr-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 only WHATSAPP and KAKAOTALK 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