IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
V2TIMConversationListFilter

Detailed Description

Conversation filter.

Public Member Functions

 V2TIMConversationListFilter ()
 
 V2TIMConversationListFilter (const V2TIMConversationListFilter &filter)
 
V2TIMConversationListFilteroperator= (const V2TIMConversationListFilter &filter)
 
 ~V2TIMConversationListFilter ()
 

Data Fields

V2TIMConversationType type
 
uint32_t filterType
 
V2TIMString conversationGroup
 
uint64_t markType
 
bool hasUnreadCount
 
bool hasGroupAtInfo
 

Constructor & Destructor Documentation

◆ V2TIMConversationListFilter() [1/2]

◆ V2TIMConversationListFilter() [2/2]

◆ ~V2TIMConversationListFilter()

Member Function Documentation

◆ operator=()

Field Documentation

◆ type

The conversation type(fill in 0 means do not filter this item)

◆ filterType

uint32_t filterType

Conversation filter type, see @V2TIMConversationFilterType for details To filter conversation groups, set filterType |= (uint32_t)V2TIM_CONVERSATION_FILTER_TYPE_CONVERSATION_GROUP To filter conversation marks, set filterType |= (uint32_t)V2TIM_CONVERSATION_FILTER_TYPE_CONVERSATION_MARK To filter conversation unread count, set filterType |= (uint32_t)V2TIM_CONVERSATION_FILTER_TYPE_HAS_UNREAD_COUNT To filter conversation group @ information, set filterType |= (uint32_t)V2TIM_CONVERSATION_FILTER_TYPE_HAS_GROUP_AT_INFO

◆ conversationGroup

V2TIMString conversationGroup

Conversation group name This field takes effect only when filterType is set to require conversation group filtering, setting the field to "" means filtering conversations not belonging to any conversation group

◆ markType

uint64_t markType

Conversation mark type, see @V2TIMConversationMarkType for details This field takes effect only when filterType is set to require conversation mark filtering, setting the field to 0 means filtering conversations without any mark

◆ hasUnreadCount

bool hasUnreadCount

Conversation unread count This field takes effect only when filterType is set to require conversation unread count filtering, setting to true means filtering conversations with unread count; setting to false means filtering conversations without unread count

◆ hasGroupAtInfo

bool hasGroupAtInfo

Conversation group @ information This field takes effect only when filterType is set to require conversation group @ information filtering, setting to true means filtering conversations with group @ messages; setting to false means filtering conversations without group @ messages