NIMChatExtendBasicInfo Class Reference

Inherits from NSObject
Conforms to NSCopying
Declared in NIMChatExtendBasicInfo.h

Overview

获取 Thread Talk 消息基本信息

  type

会话类型

@property (nonatomic, assign) NIMSessionType type

Discussion

会话类型

Declared In

NIMChatExtendBasicInfo.h

  timestamp

消息的发送时间戳,单位(s)

@property (nonatomic, assign) NSTimeInterval timestamp

Discussion

消息的发送时间戳,单位(s)

Declared In

NIMChatExtendBasicInfo.h

  fromAccount

消息发送方

@property (nonatomic, copy) NSString *fromAccount

Discussion

消息发送方

Declared In

NIMChatExtendBasicInfo.h

  toAccount

消息的接收方

@property (nonatomic, copy) NSString *toAccount

Discussion

消息的接收方

Declared In

NIMChatExtendBasicInfo.h

  serverID

消息的服务端ID

@property (nonatomic, copy) NSString *serverID

Discussion

消息的服务端ID

Declared In

NIMChatExtendBasicInfo.h

  messageID

消息的本地ID

@property (nonatomic, copy) NSString *messageID

Discussion

消息的本地ID

Declared In

NIMChatExtendBasicInfo.h

  session

所在会话

@property (nonatomic, strong, readonly) NIMSession *session

Discussion

所在会话

Declared In

NIMChatExtendBasicInfo.h

– initWithMessage:

根据消息获取

- (instancetype)initWithMessage:(NIMMessage *)message

Parameters

message

目标消息

Discussion

根据消息获取

Declared In

NIMChatExtendBasicInfo.h