IMSDK
即时通信 IM 提供全球接入、单聊、群聊、消息推送、资料关系链托管、账号鉴权等全方位解决方案,并提供完备的 App 接入、后台管理接口。
V2TIMConversationListFilter

详细描述

会话 filter

属性

V2TIMConversationType type
 
NSString * conversationGroup
 
NSUInteger markType
 
BOOL hasUnreadCount
 
BOOL hasGroupAtInfo
 

属性说明

◆ type

- (V2TIMConversationType) type
readwritenonatomicassign

C2C 或群会话(填 0 代表不过滤此项)

◆ conversationGroup

- (NSString*) conversationGroup
readwritenonatomicstrong

会话分组名称(填 nil 代表不过滤此项)

◆ markType

- (NSUInteger) markType
readwritenonatomicassign

标记类型,取值详见 @V2TIMConversationMarkType (填 0 代表不过滤此项)

◆ hasUnreadCount

- (BOOL) hasUnreadCount
readwritenonatomicassign

设置为 YES 时返回包含未读数的会话;设置为 NO 时返回所有会话(默认值是 NO)

◆ hasGroupAtInfo

- (BOOL) hasGroupAtInfo
readwritenonatomicassign

设置为 YES 时返回包含群 @ 消息的会话;设置为 NO 时返回所有会话(默认值是 NO)