Instance Property

recipients

The users that received the message.

Declaration

@property(readonly, copy, nonatomic) NSArray<INPerson *> *recipients;

Discussion

When creating INPerson objects for recipients, use the initWithPersonHandle:nameComponents:displayName:image:contactIdentifier:customIdentifier:isMe:method, and set the isMe parameter to YES if the recipient is also the user of the device. Set the isMe parameter to NO for all other recipients.

See Also

Getting the Message Attributes

messageType

The type of content contained in the message.

INMessageType

Constants indicating the type of content contained in a message.

sender

The user that sent 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.