Instance Property

sender

The user that sent the message.

Declaration

@property(readonly, copy, nonatomic) INPerson *sender;

Discussion

When creating a new INPerson object for sender, use the initWithPersonHandle:nameComponents:displayName:image:contactIdentifier:customIdentifier:isMe:method, and set the isMe parameter to YES if the sender is also the user of the device.

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.

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.