15 #import <Foundation/Foundation.h> 17 #import "EMMessageBody.h" 40 EMMessageStatusPending = 0,
41 EMMessageStatusDelivering,
42 EMMessageStatusSucceed,
43 EMMessageStatusFailed,
54 EMMessageDirectionSend = 0,
55 EMMessageDirectionReceive,
101 @property (nonatomic, copy) NSString *
from;
110 @property (nonatomic, copy) NSString *
to;
146 @property (nonatomic) EMMessageStatus
status;
195 @property (nonatomic, copy) NSDictionary *
ext;
220 - (id)initWithConversationID:(NSString *)aConversationId
221 from:(NSString *)aFrom
224 ext:(NSDictionary *)aExt;
BOOL isReadAcked
Definition: EMMessage.h:155
NSString * to
Definition: EMMessage.h:110
BOOL isDeliverAcked
Definition: EMMessage.h:164
EMMessageBody * body
Definition: EMMessage.h:182
long long timestamp
Definition: EMMessage.h:119
Definition: EMMessageBody.h:42
NSString * from
Definition: EMMessage.h:101
long long localTime
Definition: EMMessage.h:128
NSString * conversationId
Definition: EMMessage.h:83
EMMessageDirection direction
Definition: EMMessage.h:92
BOOL isRead
Definition: EMMessage.h:173
NSDictionary * ext
Definition: EMMessage.h:195
NSString * messageId
Definition: EMMessage.h:74
Definition: EMMessage.h:65
EMChatType chatType
Definition: EMMessage.h:137
EMMessageStatus status
Definition: EMMessage.h:146