Enumeration

INMessageType

Constants indicating the type of content contained in a message.

Declaration

typedef enum INMessageType : NSInteger {
    ...
} INMessageType;

Topics

General Types

INMessageTypeUnspecified

The message content isn’t specified.

INMessageTypeText

The message content is text-based.

INMessageTypeAnimoji

The message content is an animoji.

INMessageTypeAudio

The message contains audio content.

INMessageTypeDigitalTouch

The message contains digital touch content.

INMessageTypeHandwriting

The message contains handwritten content.

INMessageTypeSticker

The message contains sticker content.

INMessageTypeLink

The message contains link content.

INMessageTypeFile

The message contains a file.

INMessageTypeActivitySnippet

The message contains an activity snippet.

Media Types

INMessageTypeMediaCalendar

Media content containing calendar data.

INMessageTypeMediaLocation

Media content containing location data.

INMessageTypeMediaAddressCard

Media content containing an address card.

INMessageTypeMediaImage

Media content containing an image.

INMessageTypeMediaVideo

Media content containing video.

INMessageTypeMediaPass

Media content containing PassKit data.

INMessageTypeMediaAudio

Media content containing audio.

Payment Types

INMessageTypePaymentNote

Content indicating the message contains notes about a payment.

INMessageTypePaymentRequest

Content indicating the message contains payment request information.

INMessageTypePaymentSent

Content indicating the message contains sent payment information.

Tapback Types

INMessageTypeTapbackLiked

Content indicating that the user liked something.

INMessageTypeTapbackDisliked

Content indicating that the user disliked something.

INMessageTypeTapbackEmphasized

Content indicating that the user emphasized something.

INMessageTypeTapbackLoved

Content indicating that the user loved something.

INMessageTypeTapbackQuestioned

Content indicating that the user questioned something.

INMessageTypeTapbackLaughed

Content indicating that the user laughed at something.

See Also

Getting the Message Attributes

messageType

The type of content contained in the message.

sender

The user that sent the message.

recipients

The users that received the message.

groupName

The name of the group associated with the message.

content

The content of the message.

dateSent

The date the sender sent the message.