summaryText
A succinct description of the message.
Declaration
var summaryText: String? { get set }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.