Instance Property


A localized string that describes the message.


var accessibilityLabel: String? { get set }


Set this property to provide a succinct description of the message. VoiceOver reads this property when describing the message. By default, the accessibilityLabel property is set to nil.

See Also

Message Properties

var error: Error?

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

var isPending: Bool

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

var layout: MSMessageLayout?

A layout object that defines the message’s appearance.

var senderParticipantIdentifier: UUID

A UUID identifying the participant that sent the message.

var session: MSSession?

The session that this message belongs to.

var shouldExpire: Bool

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

var summaryText: String?

A succinct description of the message.

var url: URL?

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