AVIMMessage Class Reference
Inherits from | NSObject |
---|---|
Conforms to | NSCoding NSCopying |
Declared in | AVIMMessage.h |
ioType
表示接收和发出的消息
@property (nonatomic, assign, readonly) AVIMMessageIOType ioType
Discussion
表示接收和发出的消息
Declared In
AVIMMessage.h
status
表示消息状态
@property (nonatomic, assign, readonly) AVIMMessageStatus status
Discussion
表示消息状态
Declared In
AVIMMessage.h
messageId
消息 id
@property (nonatomic, strong, readonly, nullable) NSString *messageId
Discussion
消息 id
Declared In
AVIMMessage.h
clientId
消息发送/接收方 id
@property (nonatomic, strong, readonly, nullable) NSString *clientId
Discussion
消息发送/接收方 id
Declared In
AVIMMessage.h
mentionAll
A flag indicates whether this message mentions all members in conversation or not.
@property (nonatomic, assign, readwrite) BOOL mentionAll
Discussion
A flag indicates whether this message mentions all members in conversation or not.
Declared In
AVIMMessage.h
mentioned
Whether current client is mentioned by this message.
@property (nonatomic, assign, readonly) BOOL mentioned
Discussion
Whether current client is mentioned by this message.
Declared In
AVIMMessage.h
conversationId
消息所属对话的 id
@property (nonatomic, strong, readonly, nullable) NSString *conversationId
Discussion
消息所属对话的 id
Declared In
AVIMMessage.h
content
消息文本
@property (nonatomic, strong, readonly, nullable) NSString *content
Discussion
消息文本
Declared In
AVIMMessage.h
sendTimestamp
发送时间(精确到毫秒)
@property (nonatomic, assign, readonly) int64_t sendTimestamp
Discussion
发送时间(精确到毫秒)
Declared In
AVIMMessage.h
deliveredTimestamp
接收时间(精确到毫秒)
@property (nonatomic, assign, readonly) int64_t deliveredTimestamp
Discussion
接收时间(精确到毫秒)
Declared In
AVIMMessage.h
readTimestamp
被标记为已读的时间(精确到毫秒)
@property (nonatomic, assign, readonly) int64_t readTimestamp
Discussion
被标记为已读的时间(精确到毫秒)
Declared In
AVIMMessage.h
transient
是否是暂态消息
@property (nonatomic, assign, readonly) BOOL transient
Discussion
是否是暂态消息
Declared In
AVIMMessage.h
updatedAt
The message update time.
@property (nonatomic, strong, readonly, nullable) NSDate *updatedAt
Discussion
The message update time.
Declared In
AVIMMessage.h
+ messageWithContent:
创建文本消息。
+ (instancetype)messageWithContent:(NSString *)content
Parameters
content |
- 消息文本. |
---|
Discussion
创建文本消息。
Declared In
AVIMMessage.h