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

属性

V2TIMConversationType type
 
NSString * conversationGroup
 
NSUInteger markType
 
BOOL hasUnreadCount
 
BOOL hasGroupAtInfo
 

详细描述

会话 filter

属性说明

◆ type

- (V2TIMConversationType) type
readwritenonatomicassign

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

◆ conversationGroup

- (NSString*) conversationGroup
readwritenonatomicstrong

会话分组名称 不设置表示不过滤此项,设置为 "" 代表过滤不属于任何分组的会话

◆ markType

- (NSUInteger) markType
readwritenonatomicassign

标记类型,取值详见 @V2TIMConversationMarkType 不设置表示不过滤此项,设置为 0 代表过滤不含任何标记的会话

◆ hasUnreadCount

- (BOOL) hasUnreadCount
readwritenonatomicassign

会话未读数 不设置表示不过滤此项,设置为 YES 代表过滤含未读数的会话;设置为 NO 代表过滤不含未读数的会话

◆ hasGroupAtInfo

- (BOOL) hasGroupAtInfo
readwritenonatomicassign

会话 @ 信息 不设置表示不过滤此项,设置为 YES 代表过滤含群 @ 消息的会话;设置为 NO 代表过滤不含群 @ 消息的会话