Instance Property

summaryText

A succinct description of the message.

Declaration

@property(nonatomic, copy) NSString *summaryText;

Discussion

This property defaults to nil.

Set the summary text when you create a message that is associated with a session. When a subsequent message is sent using the same session, the Messages app uses this text to create a summary in the transcript. If the summary text is nil, the system provides a default description for the message so that the message history is preserved.

See Also

Message Properties

accessibilityLabel

A localized string that describes the message.

error

An error object describing why the system failed to send the message.

pending

A Boolean value that indicates whether the message is pending or whether it has been sent or received.

layout

A layout object that defines the message’s appearance.

senderParticipantIdentifier

A UUID identifying the participant that sent the message.

session

The session that this message belongs to.

shouldExpire

A Boolean value that determines whether the message should expire after being read.

URL

A URL that encodes data to be transmitted with the message.