Conversation filter.
Public Member Functions | |
V2TIMConversationListFilter () | |
V2TIMConversationListFilter (const V2TIMConversationListFilter &filter) | |
V2TIMConversationListFilter & | operator= (const V2TIMConversationListFilter &filter) |
~V2TIMConversationListFilter () | |
Data Fields | |
V2TIMConversationType | type |
uint32_t | filterType |
V2TIMString | conversationGroup |
uint64_t | markType |
bool | hasUnreadCount |
bool | hasGroupAtInfo |
V2TIMConversationListFilter | ( | const V2TIMConversationListFilter & | filter | ) |
V2TIMConversationListFilter& operator= | ( | const V2TIMConversationListFilter & | filter | ) |
The conversation type(fill in 0 means do not filter this item)
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
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
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
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
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