RCConversation Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | NSCoding |
| Declared in | RCConversation.h |
会话类型
conversationType
会话类型
@property (nonatomic, assign) RCConversationType conversationTypeDiscussion
会话类型
Declared In
RCConversation.h
目标会话ID
targetId
目标会话ID
@property (nonatomic, copy) NSString *targetIdDiscussion
目标会话ID
Declared In
RCConversation.h
会话的标题
conversationTitle
会话的标题
@property (nonatomic, copy) NSString *conversationTitleDiscussion
会话的标题
Declared In
RCConversation.h
会话中的未读消息数量
unreadMessageCount
会话中的未读消息数量
@property (nonatomic, assign) int unreadMessageCountDiscussion
会话中的未读消息数量
Declared In
RCConversation.h
是否置顶,默认值为NO
isTop
是否置顶,默认值为NO
@property (nonatomic, assign) BOOL isTopDiscussion
是否置顶,默认值为NO
@discussion 如果设置了置顶,在IMKit的RCConversationListViewController中会将此会话置顶显示。
Declared In
RCConversation.h
会话中最后一条消息的接收状态
receivedStatus
会话中最后一条消息的接收状态
@property (nonatomic, assign) RCReceivedStatus receivedStatusDiscussion
会话中最后一条消息的接收状态
Declared In
RCConversation.h
会话中最后一条消息的发送状态
sentStatus
会话中最后一条消息的发送状态
@property (nonatomic, assign) RCSentStatus sentStatusDiscussion
会话中最后一条消息的发送状态
Declared In
RCConversation.h
会话中最后一条消息的接收时间(Unix时间戳、毫秒)
receivedTime
会话中最后一条消息的接收时间(Unix时间戳、毫秒)
@property (nonatomic, assign) long long receivedTimeDiscussion
会话中最后一条消息的接收时间(Unix时间戳、毫秒)
Declared In
RCConversation.h
会话中最后一条消息的发送时间(Unix时间戳、毫秒)
sentTime
会话中最后一条消息的发送时间(Unix时间戳、毫秒)
@property (nonatomic, assign) long long sentTimeDiscussion
会话中最后一条消息的发送时间(Unix时间戳、毫秒)
Declared In
RCConversation.h
会话中存在的草稿
draft
会话中存在的草稿
@property (nonatomic, copy) NSString *draftDiscussion
会话中存在的草稿
Declared In
RCConversation.h
会话中最后一条消息的类型名
objectName
会话中最后一条消息的类型名
@property (nonatomic, copy) NSString *objectNameDiscussion
会话中最后一条消息的类型名
Declared In
RCConversation.h
会话中最后一条消息的发送者用户ID
senderUserId
会话中最后一条消息的发送者用户ID
@property (nonatomic, copy) NSString *senderUserIdDiscussion
会话中最后一条消息的发送者用户ID
Declared In
RCConversation.h
会话中最后一条消息的发送者的用户名(已废弃,请勿使用)
)
会话中最后一条消息的发送者的用户名(已废弃,请勿使用)
@property (nonatomic, copy) NSString *__deprecated_msg ( "已废弃,请勿使用。" )Discussion
会话中最后一条消息的发送者的用户名(已废弃,请勿使用)
Warning: 已废弃,请勿使用。
Declared In
RCConversation.h
会话中最后一条消息的消息ID
lastestMessageId
会话中最后一条消息的消息ID
@property (nonatomic, assign) long lastestMessageIdDiscussion
会话中最后一条消息的消息ID
Declared In
RCConversation.h
会话中最后一条消息的内容
lastestMessage
会话中最后一条消息的内容
@property (nonatomic, strong) RCMessageContent *lastestMessageDiscussion
会话中最后一条消息的内容
Declared In
RCConversation.h
会话中最后一条消息的方向
lastestMessageDirection
会话中最后一条消息的方向
@property (nonatomic, assign) RCMessageDirection lastestMessageDirectionDiscussion
会话中最后一条消息的方向
Declared In
RCConversation.h
会话中最后一条消息的json Dictionary
jsonDict
会话中最后一条消息的json Dictionary
@property (nonatomic, strong) NSDictionary *jsonDictDiscussion
会话中最后一条消息的json Dictionary
此字段存放最后一条消息内容中未编码的json数据。 SDK内置的消息,如果消息解码失败,默认会将消息的内容存放到此字段;如果编码和解码正常,此字段会置为nil。
Declared In
RCConversation.h
最后一条消息的全局唯一ID
lastestMessageUId
最后一条消息的全局唯一ID
@property (nonatomic, copy) NSString *lastestMessageUIdDiscussion
最后一条消息的全局唯一ID
服务器消息唯一ID(在同一个Appkey下全局唯一)
Declared In
RCConversation.h
会话中是否存在被@的消息
hasUnreadMentioned
会话中是否存在被@的消息
@property (nonatomic, assign, readonly) BOOL hasUnreadMentionedDiscussion
会话中是否存在被@的消息
在清除会话未读数(clearMessagesUnreadStatus:targetId:)的时候,会将此状态置成 NO。
Declared In
RCConversation.h
会话中@消息的个数
mentionedCount
会话中@消息的个数
@property (nonatomic, assign) int mentionedCountDiscussion
会话中@消息的个数
在清除会话未读数(clearMessagesUnreadStatus:targetId:)的时候,会将此值置成 0。
Declared In
RCConversation.h
RCConversation初始化方法(已废弃,请勿使用)
+ conversationWithProperties:
RCConversation初始化方法(已废弃,请勿使用)
+ (instancetype)conversationWithProperties:(NSDictionary *)jsonParameters
json |
会话的json Dictionary |
|---|
Return Value
会话对象
Discussion
RCConversation初始化方法(已废弃,请勿使用)
Warning: 已废弃,请勿使用。
Declared In
RCConversation.h