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 type
Discussion
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 *rawData
Discussion
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 longitude
Discussion
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 latitude
Discussion
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 *label
Discussion
The optional label to be displayed to the recipient alongside the location pin.
Declared In
TCHContentTemplate.h