TCHContentTemplate Class Reference

Inherits from NSObject
Declared in TCHContentTemplate.h

Overview

The content template.

Use [TwilioConversationsClient getContentTemplatesWithCompletion:] to request all content templates for the current account.

  sid

The server-assigned unique identifier for TCHContentTemplate.

@property (nonatomic, readonly, copy) NSString *sid

Discussion

The server-assigned unique identifier for TCHContentTemplate.

Declared In

TCHContentTemplate.h

  friendlyName

The friendly name used to describe the content template. Not visible to the recipient.

@property (nonatomic, readonly, copy) NSString *friendlyName

Discussion

The friendly name used to describe the content template. Not visible to the recipient.

Declared In

TCHContentTemplate.h

  dateCreated

The timestamp when this template was created.

@property (nonatomic, readonly, copy) NSDate *dateCreated

Discussion

The timestamp when this template was created.

Declared In

TCHContentTemplate.h

  dateUpdated

The timestamp when this template was last time updated.

@property (nonatomic, readonly, copy) NSDate *dateUpdated

Discussion

The timestamp when this template was last time updated.

Declared In

TCHContentTemplate.h

  variables

Template variables are being used for filling default placeholder values with desired values for variables included in content.

@property (nonatomic, readonly, copy) NSArray<TCHContentTemplateVariable*> *variables

Discussion

Template variables are being used for filling default placeholder values with desired values for variables included in content.

Declared In

TCHContentTemplate.h

  variants

Variants of the content. See [TCHContentDataType] for available options.

@property (nonatomic, readonly, copy) NSArray<NSObject<TCHContentDataRaw> *> *variants

Discussion

Variants of the content. See [TCHContentDataType] for available options.

The most richest content type supported by a recipient will be sent.

Declared In

TCHContentTemplate.h