Inherits from NSObject
Declared in JOMessage.h

Overview

This class contains various methods for receiving information about a message.

Tasks

  •   messageId

    This property is the identifier of the message.

    property
  •   senderId

    This property is the identifier of the sender of the message.

    property
  •   direction

    This property is the sending direction of the message.

    property
  •   content

    This property is the content of the message.

    property
  •   time

    This property is the sending time point of the message.

    property
  • – initWithJSON:

    This methods creates a message object from a JSON string.

Properties

content

This property is the content of the message.

@property (atomic, strong) NSString *content

Declared In

JOMessage.h

direction

This property is the sending direction of the message.

@property (atomic, strong) NSNumber *direction

Declared In

JOMessage.h

messageId

This property is the identifier of the message.

@property (atomic, strong) NSString *messageId

Declared In

JOMessage.h

senderId

This property is the identifier of the sender of the message.

@property (atomic, strong) NSString *senderId

Declared In

JOMessage.h

time

This property is the sending time point of the message.

@property (atomic, strong) NSNumber *time

Declared In

JOMessage.h

Instance Methods

initWithJSON:

This methods creates a message object from a JSON string.

- (id)initWithJSON:(NSDictionary *)jsonData

Declared In

JOMessage.h