TCHContentDataQuickReply Class Reference

Inherits from NSObject
Conforms to TCHContentDataRaw
Declared in TCHContentTemplate.h

Overview

The template to provide a way to make a simple response.

The template lets recipients tap, rather than type, to respond to the message.

Represents the twilio/quick-reply content type.

  type

The type of the content template variant, which is [TCHContentDataTypeQuickReply].

@property (nonatomic, readonly) enum TCHContentDataType type

Discussion

The type of the content template variant, which is [TCHContentDataTypeQuickReply].

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

  body

The text of the message you want to send. This is included as a regular text message.

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

Discussion

The text of the message you want to send. This is included as a regular text message.

Declared In

TCHContentTemplate.h

  replies

The array of up to 3 buttons to make a response. See [TCHContentDataReply].

@property (nonatomic, readonly, copy) NSArray<TCHContentDataReply*> *replies

Discussion

The array of up to 3 buttons to make a response. See [TCHContentDataReply].

Declared In

TCHContentTemplate.h