TCHContentDataLocation Class Reference
| Inherits from | NSObject | 
|---|---|
| Conforms to | TCHContentDataRaw | 
| Declared in | TCHContentTemplate.h | 
Overview
The template which contains a location pin and an optional label.
This action can be used to enhance delivery notification or connect recipients to physical experiences you offer.
Represents the twilio/location content type.
  type
	The type of the content template variant, which is [TCHContentDataTypeLocation].
@property (nonatomic, readonly) enum TCHContentDataType typeDiscussion
The type of the content template variant, which is [TCHContentDataTypeLocation].
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
  longitude
	The longitude value of the location pin you want to send.
@property (nonatomic, readonly) double longitudeDiscussion
The longitude value of the location pin you want to send.
Declared In
TCHContentTemplate.h
  latitude
	The latitude value of the location pin you want to send.
@property (nonatomic, readonly) double latitudeDiscussion
The latitude value of the location pin you want to send.
Declared In
TCHContentTemplate.h
  label
	The optional label to be displayed to the recipient alongside the location pin.
@property (nonatomic, readonly, copy) NSString *labelDiscussion
The optional label to be displayed to the recipient alongside the location pin.
Declared In
TCHContentTemplate.h