TCHContentDataMedia Class Reference
| Inherits from | NSObject | 
|---|---|
| Conforms to | TCHContentDataRaw | 
| Declared in | TCHContentTemplate.h | 
Overview
The template variant which sends file attachments.
Used to send file attachments, or to send a long text via MMS in the US and Canada.
Represents the twilio/media content type.
  type
	The type of the content template variant, which is [TCHContentDataTypeMedia].
@property (nonatomic, readonly) enum TCHContentDataType typeDiscussion
The type of the content template variant, which is [TCHContentDataTypeMedia].
Declared In
TCHContentTemplate.h
  rawData
	The full data of the content data as a stringified JSON.
@property (nonatomic, readonly, copy) NSString *rawDataDiscussion
The full data of the content data as a stringified JSON.
Can be used for new content types and fields which are not yet supported in the current version of Conversations SDK.
Declared In
TCHContentTemplate.h
  body
	The text of the message you want to send. This is included as a regular text message.
@property (nonatomic, readonly, copy) NSString *bodyDiscussion
The text of the message you want to send. This is included as a regular text message.
Declared In
TCHContentTemplate.h
  media
	URLs of media to send with the message.
@property (nonatomic, readonly, copy) NSArray<NSString*> *mediaDiscussion
URLs of media to send with the message.
Declared In
TCHContentTemplate.h