NIMMessageReceipt Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | NIMMessageReceipt.h |
session
已读回执对应的会话
@property (nullable, nonatomic, copy, readonly) NIMSession *sessionDiscussion
已读回执对应的会话
Declared In
NIMMessageReceipt.h
timestamp
时间戳
@property (nonatomic, assign, readonly) NSTimeInterval timestampDiscussion
时间戳
发送已读回执时,这个字段需要被设置为当前会话中的最后一条消息时间戳 接受已读回执时,这个字段表示在这个时间戳之前的消息都已读 此字段支持 P2P 会话类型
Declared In
NIMMessageReceipt.h
messageId
消息 Id
@property (nonatomic, copy, readonly) NSString *messageIdDiscussion
消息 Id
只有 Team 会话有效,表示已读的这条消息的 Id
Declared In
NIMMessageReceipt.h
teamReceiptInfo
群已读回执相关信息
@property (nonatomic, strong, readonly) NIMTeamMessageReceipt *teamReceiptInfoDiscussion
群已读回执相关信息
Declared In
NIMMessageReceipt.h
– initWithMessage:
通过最后一条消息构造已读回执
- (instancetype)initWithMessage:(NIMMessage *)messageParameters
message |
会话中的最后一条消息 |
|---|
Return Value
已读回执实例
Discussion
通过最后一条消息构造已读回执
Declared In
NIMMessageReceipt.h