NIMMessagePinItem Class Reference

Inherits from NSObject
Declared in NIMMessagePinItem.h

  session

对应会话

@property (nonatomic, copy) NIMSession *session

Discussion

对应会话

Declared In

NIMMessagePinItem.h

  messageFromAccount

消息发送方ID

@property (nonatomic, copy) NSString *messageFromAccount

Discussion

消息发送方ID

Declared In

NIMMessagePinItem.h

  messageToAccount

消息接收方ID

@property (nonatomic, copy) NSString *messageToAccount

Discussion

消息接收方ID

Declared In

NIMMessagePinItem.h

  messageTime

消息时间戳(s)

@property (nonatomic, assign) NSTimeInterval messageTime

Discussion

消息时间戳(s)

Declared In

NIMMessagePinItem.h

  messageServerID

服务端消息ID

@property (nonatomic, strong) NSString *messageServerID

Discussion

服务端消息ID

Declared In

NIMMessagePinItem.h

  messageId

本地消息ID

@property (nonatomic, copy) NSString *messageId

Discussion

本地消息ID

Declared In

NIMMessagePinItem.h

  accountID

操作者,不传表示当前登录者

@property (nonatomic, copy, nullable) NSString *accountID

Discussion

操作者,不传表示当前登录者

Declared In

NIMMessagePinItem.h

  ext

扩展字段,string,最大512

@property (nonatomic, copy, nullable) NSString *ext

Discussion

扩展字段,string,最大512

Declared In

NIMMessagePinItem.h

  createTime

创建时间(s)

@property (nonatomic, assign) NSTimeInterval createTime

Discussion

创建时间(s)

Declared In

NIMMessagePinItem.h

  updateTime

更新时间(s)

@property (nonatomic, assign) NSTimeInterval updateTime

Discussion

更新时间(s)

Declared In

NIMMessagePinItem.h

– initWithMessage:

简便初始化方法

- (instancetype)initWithMessage:(NIMMessage *)message

Discussion

简便初始化方法

Declared In

NIMMessagePinItem.h